Closed thxmxx closed 6 years ago
You can override the option when passing the object to body
:
body({ ...schemaTree, field: { ...scemaTree.field, required: false } })
Do I have to do this to all fields? Can I just override them all at once?
Most of the time the Required statement is only applicable for creating the documents. After creation I cannot force the user to fill these fields again. Is there any option to bypass this?
I am copying the schema tree