garageScript/c0d3-app

MdInput stories do not allow for user input

Closed this issue · 0 comments

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.