diff options
Diffstat (limited to 'web/source/settings/lib/form/get-form-mutations.ts')
-rw-r--r-- | web/source/settings/lib/form/get-form-mutations.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web/source/settings/lib/form/get-form-mutations.ts b/web/source/settings/lib/form/get-form-mutations.ts index 6e1bfa02d..a3dc36601 100644 --- a/web/source/settings/lib/form/get-form-mutations.ts +++ b/web/source/settings/lib/form/get-form-mutations.ts @@ -27,6 +27,12 @@ export default function getFormMutations( const mutationData: Array<[string, any]> = []; Object.values(form).forEach((field) => { + if (field.nosubmit) { + // Completely ignore + // this field. + return; + } + if ("selectedValues" in field) { // FieldArrayInputHook. const selected = field.selectedValues(); |