You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a scenario where I want to generate default formData based on the schema, after some research I found a utility method named getDefaultFormState which is working fine for all the attributes present inside the properties key of the schema but I've a schema in which allOf is present at properties level and for that schema mentioned method is ignoring defaults present inside allOf
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a scenario where I want to generate default formData based on the schema, after some research I found a utility method named
getDefaultFormState
which is working fine for all the attributes present inside theproperties
key of the schema but I've a schema in whichallOf
is present at properties level and for that schema mentioned method is ignoring defaults present inside allOfIs there any work around for this ?
Beta Was this translation helpful? Give feedback.
All reactions