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

Not specifying a default option shouldn't cause an exception #13

Open
fwextensions opened this issue Jul 19, 2018 · 0 comments
Open

Not specifying a default option shouldn't cause an exception #13

fwextensions opened this issue Jul 19, 2018 · 0 comments

Comments

@fwextensions
Copy link

If none of the options has default: true specified, an exception is thrown in componentWillMount(), since the default option is undefined. The docs do say it's required, but I'd expect default to just default to the first item when it isn't specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants