Skip to content
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

Picker children do not accept {false} #13317

Closed
windhamwong opened this issue Apr 5, 2017 · 1 comment
Closed

Picker children do not accept {false} #13317

windhamwong opened this issue Apr 5, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@windhamwong
Copy link

windhamwong commented Apr 5, 2017

Problem:
When I try to implement dynamic item in <Picker>, the app returns

Cannot read property 'props' of null

I did some quick test (actually not quick to spot the issue...), it seems to be an issue when the children is false. This might be related to #12829

Prove of Concept (PoC):

I use {false} here to represent no data in the dynamic variable.

<View>{false}<View>

View is working fine with false here.

<Picker>{false}<Pick>

But picker do not allow you to put false here. You can put null here instead.

@hramos
Copy link
Contributor

hramos commented Apr 6, 2017

Hey, thanks for reporting this issue!

It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.

I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!

@hramos hramos closed this as completed Apr 6, 2017
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants