mirror of
https://github.com/directus/directus.git
synced 2026-01-27 13:37:59 -05:00
Fix save button on collection detail
This commit is contained in:
@@ -312,7 +312,8 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function setValue(fieldKey: string, value: any) {
|
||||
const field = props.fields?.find((field) => field.field === fieldKey);
|
||||
const field = formFields.value?.find((field) => field.field === fieldKey);
|
||||
|
||||
if (!field || isDisabled(field)) return;
|
||||
|
||||
const edits = props.modelValue ? cloneDeep(props.modelValue) : {};
|
||||
|
||||
Reference in New Issue
Block a user