When I change storybook controls, vue setup is not called again #23678
Unanswered
PrateekGoyal18
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a component
BStepperItem
defined like this -Its corresponding HTML looks something like this -
And the story is -
Now the main issue is, as I have radio buttons to control the type of
stepper-item
, if I directly use props value in HTML bypassing setup function, the stepper is updated when I update the radio button value.But as here I am passing the props through setup function (I have to run some changes on the prop values and then use them in my HTML), then the stepper type is not updated when I update the radio button value.
"vue": "3.2.47"
"@storybook/vue3": "7.0.7"
I am scratching my head over where I am going wrong here. Can anyone please help me with this.
Beta Was this translation helpful? Give feedback.
All reactions