-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
v5.3.1 knobs: runtime exception on null value in select array #9405
Labels
Milestone
Comments
Thanks guys! |
Ta-da!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.3 containing PR #9416 that references this issue. Upgrade today to try it out! |
Less than 24h turnaround - fantastic!! 🙌 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Updating
addon-knobs
to 5.3.1 throws a TypeError when a select knob array argument contains a null.To Reproduce
Steps to reproduce the behavior:
npm run storybook
Uncaught TypeError: Cannot read property 'label' of null
Expected behavior
Story should display with the following select options for 'value':
1, 2, 3, _undefined_, null
Code snippets
System:
The text was updated successfully, but these errors were encountered: