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
In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.
Description
I'm trying to populate an anyOf string input depending on another anyOf string input field. I want to detect the enum that has been chose in the anyOf #1 field so I would send an http request to fetch the data of the input that I have chose and to populate the #2 anyOf field.
The onChange method doesn't provide the value of the anyOf input field that have been changed. How would I do such thing?
You might just need to call onChange and compare the entire new formData with the old formData you are storing in the state, to see which fields has been changed.
Closing this issue as it's been a while, but feel free to reopen it if you have any additional questions.
Prerequisites
Description
I'm trying to populate an anyOf string input depending on another anyOf string input field. I want to detect the enum that has been chose in the anyOf #1 field so I would send an http request to fetch the data of the input that I have chose and to populate the #2 anyOf field.
The onChange method doesn't provide the value of the anyOf input field that have been changed. How would I do such thing?
Current Schema
Version
^1.0.0
The text was updated successfully, but these errors were encountered: