Skip to content

Commit 75f9b5d

Browse files
fix: fixes saving form field settings
1 parent 62172ac commit 75f9b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/api-form-builder/src/plugins/crud/forms.models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const FormFieldsModel = zod.object({
2727
)
2828
.optional()
2929
.default([]),
30-
settings: zod.object({}).optional().default({})
30+
settings: zod.object({}).passthrough().optional().default({})
3131
});
3232

3333
export const FormStepsModel = zod.object({

0 commit comments

Comments
 (0)