How I can prevent an input event on Vuetify's v-select element to ask confirmation first.
User Story:
- I select an option.
- Confirm pops up asking "Do you want to change the value?"
- If I confirm, the value changes.
- If I deny, the value does not change.
Then you should use separate variable for data and input. And use
change
event to toggle dialog.Example Code:
CodeSandbox