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

MdInput stories do not allow for user input #2870

Closed
scotthallock opened this issue Mar 31, 2023 · 0 comments · Fixed by #2871
Closed

MdInput stories do not allow for user input #2870

scotthallock opened this issue Mar 31, 2023 · 0 comments · Fixed by #2871
Labels
bug Something isn't working

Comments

@scotthallock
Copy link
Collaborator

The MdInput stories do not allow the user to input text. It would be nice to fix this so that you can interact with the story and see how the MdInput component works.

To see the current behavior, have the dev environment set up on your local machine and run yarn storybook export NODE_OPTIONS=--openssl-legacy-provider. Then go to the Components/MdInput stories.

The reason why the MdInput does not respond to input is because its value and onChange props come from the parent component, ReviewCard. If you go to the story for ReviewCard you will see that theMdInput does respond to user input.

It could be argued that the MdInput stories do not need "fixing", because storybook is supposed to showcase the individual components, not their parent component's logic. If so, feel free to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🦄 Done
2 participants