-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Error message when removing value from number knob #2475
Comments
Should be quite easy to fix, feel free to send a PR |
hi can I work on this? |
Of course @M-ZubairAhmed |
A similar issue happens with date knobs as well. |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 60 days. Thanks! |
hi @Hypnosphi! I have a PR for this, but I'm getting permission denied when I try to push to origin. |
@kaitmore, I don't think this is set up to allow direct PRs. You can fork the repo and set the PR to come from your fork, though. |
Released as |
Issue details
There is an error message when removing the value from a "number" knob input:
I would expect this to be handled by the knob itself so we can avoid having these error messages in our consoles.
Steps to reproduce
This issue can be seen in the
cra-kitchen-sink
examples. Run the storybook examples and navigate to a story like 'withKnobs - tweaks static values':Delete the
12.5
from the "Dollars" field. When viewing the console, the error described above will show, along withA component is changing a controlled input of type number to be uncontrolled.
Please specify which version of Storybook and optionally any affected addons that you're running
@storybook/react 3.2.17
@storybook/addon-knobs 3.2.17
react 16.2.0
The text was updated successfully, but these errors were encountered: