diff --git a/app/src/components/v-form/v-form.vue b/app/src/components/v-form/v-form.vue index bc6718f44c..2f2d65ad20 100644 --- a/app/src/components/v-form/v-form.vue +++ b/app/src/components/v-form/v-form.vue @@ -319,7 +319,7 @@ export default defineComponent({ const updatableKeys = Object.keys(updates).filter((key) => { const field = props.fields?.find((field) => field.field === key); if (!field) return false; - return !isDisabled(field); + return field.schema?.is_primary_key || !isDisabled(field); }); emit('update:modelValue', pick(assign({}, props.modelValue, updates), updatableKeys));