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 first instance (retrieving via ajax call) - i'm able to select a value on the category field. the state gets changed from " " to the required input and i'm able to see the selected value in the input box
but i sometimes want to pre-populate the category field. this time , the prepopulated value doesnt show up in the input box. nor are any further selections - where am i going wrong?
The text was updated successfully, but these errors were encountered:
I have a component which either retrieves state on ajax call or is prepopulated with props sent to this.
this is my component state
I am using react-select for the category input
the handleChange handler goes like this
in the first instance (retrieving via ajax call) - i'm able to select a value on the category field. the state gets changed from " " to the required input and i'm able to see the selected value in the input box
but i sometimes want to pre-populate the category field. this time , the prepopulated value doesnt show up in the input box. nor are any further selections - where am i going wrong?
The text was updated successfully, but these errors were encountered: