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
I want to have an argument disabled in most of the stories for a component, but I cannot overwrite the value on meta definition in specific stories.
To Reproduce
Set in meta definition: argTypes{ whatever: {control: false} }; and then try to set argTypes{ whatever: {control: "string"} } inside a story. The control for that arg will remain disabled ("-").
Nonetheless, if you go from control:"string" in meta definition to control: "object" in story, it will overwrite it correctly.
Describe the bug
I want to have an argument disabled in most of the stories for a component, but I cannot overwrite the value on meta definition in specific stories.
To Reproduce
Set in meta definition: argTypes{ whatever: {control: false} }; and then try to set argTypes{ whatever: {control: "string"} } inside a story. The control for that arg will remain disabled ("-").
Nonetheless, if you go from control:"string" in meta definition to control: "object" in story, it will overwrite it correctly.
System
Additional context
No response
The text was updated successfully, but these errors were encountered: