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

How to use @change/@input for changing a local value #1825

Closed
a1danw opened this issue Mar 20, 2024 · 1 comment
Closed

How to use @change/@input for changing a local value #1825

a1danw opened this issue Mar 20, 2024 · 1 comment
Labels

Comments

@a1danw
Copy link

a1danw commented Mar 20, 2024

Is it possible to use an @change or @input to watch for a state change as I need my button to be disabled on mount until a value changes but its not achievable with v-model as it triggers on mount. I have tried adding @input="changed = true" but its not triggering

@a1danw a1danw added the bug label Mar 20, 2024
@a1danw
Copy link
Author

a1danw commented Mar 20, 2024

I used a combination of @OPEN="dropdownOpened" and watch to look out for new changes.

@a1danw a1danw closed this as completed Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant