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
When I set the label of the placeholder with a state variable it doesn't display. It will show the correct State name when I select the picker, but doesn't show the value of the placeholder until I select the placeholder, as seen in the attached screenshot. (Shows Alabama Twice) I have tried to use itemKey and value props as well, but that doesn't work either.
Describe the bug
When I set the label of the placeholder with a state variable it doesn't display. It will show the correct State name when I select the picker, but doesn't show the value of the placeholder until I select the placeholder, as seen in the attached screenshot. (Shows Alabama Twice) I have tried to use itemKey and value props as well, but that doesn't work either.
To Reproduce
Here is my code creating the RNPickerSelect
Here is my style:
Expected behavior
I expect the placehold to show the value in the state variable
Screenshots
Additional details
iPhone simulator
RN version 0.74.3
Reproduction and/or code sample
I am unable to provide a snack as this is currently in production, and for the company I work for.
The text was updated successfully, but these errors were encountered: