-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No labels, initValue doesn't work #38
Comments
@d-a-n Any idea what the problem could be? |
What are you wrapping the label with? maybe its a flex-box issue? I had similar issue with the input box but after a bit of tooling got it to work. So maybe adding a styles tag and a flex: 1
|
Having the same issue here |
WorkAround! ModalPicker can take a children which override the default button (which doesn't show the init value)
@Mjuk-Biltvatt So something like that for you
which will display your inital value if you havent selected yet. Need some styling and you can make it as beautiful as you want :) |
@tiaaaa123 Good idea, thank you! |
Thanks for this! |
For some reason initValue doesn't work. No label appear even when I've selected a value.
Screenshot
Code:
I had this code working before updating to RN 0.40.
The modal and picker itself is working fine. The lists are rendered as intended and the value itself is being stored correctly and is recieved by my API like intended. The only issue is the label.
Any ideas?
The text was updated successfully, but these errors were encountered: