-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Controls not working with v-bind #164
Comments
After playing a little more with the tool I saw that when using the v-bind it doesn't work for props of type boolean when setting it initially with the value true. If the value is set initially as false it works as expected. |
I'm not sure to understand what the issue is about. Could you provide more details about what is expected and what is actually happening? Thanks ! |
Probably the issue title it's not the best one. I have mentioned the v-bind because I'm working with v-bind but now after playing more with Histoire I think it's related to the auto-props functionality. |
@Akryum the issue it's only with props that are boolean and when they have the initial value set to true |
@Akryum just one note. Thanks for the quick fixes and for this great tool :) |
Describe the bug
When passing data/props to component using v-bind nothing updates when changing the props on the control panel.
Reproduction
Here you can find a reproduction of the issue
https://stackblitz.com/edit/vitejs-vite-fkqytv?file=histoire%2FBaseButton.story.vue&terminal=dev
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: