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
Describe the bug
The onChange callback for AsyncSelectField and SelectField is passing "value" in a different format. The storybook description says the "target.value" will hold the value but its not the case for AsyncSelectField.
To Reproduce
Steps to reproduce the behavior:
render both and using the same default options
click on any option
see the "event" object passed in onChange method
Screenshots
Additional context
Either the code needs to changed or the storybook description needs to updated to indicate the correct value for target.value
The text was updated successfully, but these errors were encountered:
Describe the bug
The
onChange
callback for AsyncSelectField and SelectField is passing "value" in a different format. The storybook description says the "target.value" will hold the value but its not the case for AsyncSelectField.To Reproduce
Steps to reproduce the behavior:
onChange
methodScreenshots
Additional context
Either the code needs to changed or the storybook description needs to updated to indicate the correct value for
target.value
The text was updated successfully, but these errors were encountered: