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
Does the issue still happen if you treat the Form component as fully controlled? i.e. store formData in a useState and update it using the onChange prop
@nickgros The problem was in rjsf version 5.15.0. In onChange callback old value of retrievedSchema was passed to this.validate (instead of new one in _retrievedSchema variable).
Prerequisites
What theme are you using?
core
Version
5.21.1
Current Behavior
onSubmit: validate all fields
onChange: dependent fields aren't validated (as a result these fields loose error state)
Expected Behavior
onChange doesn't make dependent fields with errors loose thier error state if they haven't been changed
Steps To Reproduce
Environment
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: