Skip to content
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

ButtonGroup runs on Created()/Mounted() #41

Open
gersirami opened this issue Jun 5, 2022 · 0 comments
Open

ButtonGroup runs on Created()/Mounted() #41

gersirami opened this issue Jun 5, 2022 · 0 comments

Comments

@gersirami
Copy link

Hello!
I noticed that when you have a ButtonGroup:

<Button-Group
   exclusive
   :active="inStyleColorStore"
   @update="updateStyle">
        <Button icon="image-multiple" />
        <Button icon="image-filter-black-white" />
        <Button icon="palette" />
        <Button icon="blur-linear" />
</Button-Group>

The @update runs when the component is created. Is there a way to avoid it and make it only run when you click one of the buttons?

@gersirami gersirami changed the title ButtonGroup runs on Mounted() ButtonGroup runs on Created()/Mounted() Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant