Describe the bug
If defaultValue in Story.argTypes is set to false, it cannot be overridden by a value in Story.args. This behavior occurs only when the default value is false. If it is set to true, the value can be changed to false through the story configuration. Same for 0/1
Reproduction
https://stackblitz.com/edit/ladle-rj7vgnvr
Environment
- OS: MacOS
- Browser: Chrome
- Version: Chrome 134
Describe the bug
If
defaultValueinStory.argTypesis set to false, it cannot be overridden by a value inStory.args. This behavior occurs only when the default value isfalse. If it is set totrue, the value can be changed tofalsethrough the story configuration. Same for 0/1Reproduction
https://stackblitz.com/edit/ladle-rj7vgnvr
Environment