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
I have a component that has "isClearable" set to true, it does clear my value but when it does, the value gets set to an object{ lablel: null, value: null }. My issue is then my after clearing my default text no longer displays. Is there an option to get it just to set the state to null, so that when the field is cleared my placeholder text will still display?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a component that has "isClearable" set to true, it does clear my value but when it does, the value gets set to an object{ lablel: null, value: null }. My issue is then my after clearing my default text no longer displays. Is there an option to get it just to set the state to null, so that when the field is cleared my placeholder text will still display?
Beta Was this translation helpful? Give feedback.
All reactions