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
Hi @alexkreidler. I see where the problem is (field receives required: []), but I'm not sure how to proceed here. Technically, required should be ignored for non-objects. Maybe changing this condition to include non-booleans would be enough. If you'd like to, give it a try. If not, we'll look into it.
I have a JSON Schema:
Which becomes
and then the compiled schema becomes:
Now a string Field is rendered, but with the property
required
set to an empty array. Surprisingly, this results in the field being required.The interface shows the required asterisk, and I cannot submit the form because it doesn't validate.
Please fix so an empty array means the field is not required.
Thanks for this great library!
The text was updated successfully, but these errors were encountered: