You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Vue3 codebases, when defining a prop with PropType as a string union type, the user should be able to select from the list of options on the autodocs page.
What actually happens is that when defining a prop with PropType as a string union type, the data type is inferred as object, and you can not even enter the string value of the prop on the autodocs page as it expects an stringified object to be passed.
Describe the bug
For Vue3 codebases, when defining a prop with PropType as a string union type, the user should be able to select from the list of options on the autodocs page.
E.g.:
What actually happens is that when defining a prop with PropType as a string union type, the data type is inferred as object, and you can not even enter the string value of the prop on the autodocs page as it expects an stringified object to be passed.
To Reproduce
https://github.com/its-lee/storybook-vue3-proptype-issue
System
Additional context
No response
The text was updated successfully, but these errors were encountered: