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

DropDownMenu doesn't show '0' values #1487

Closed
mping opened this issue Aug 23, 2015 · 0 comments
Closed

DropDownMenu doesn't show '0' values #1487

mping opened this issue Aug 23, 2015 · 0 comments
Labels
bug 🐛 Something doesn't work

Comments

@mping
Copy link

mping commented Aug 23, 2015

The following code doesn't show the current value (maybe because it is falsy?)

<mui.DropDownMenu value={0} menuItems={ [0,2,3].map((val) => { return {'payload': val, 'text': val} }) } />

However, if you change the value to 2 or 3 it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

No branches or pull requests

2 participants