euvl / euvl/vue-js-toggle-button

Prevent change

Open
#86 3 comments 10 reactions 0 assignees View on GitHub
question
Dominant language
Vue
Stars
921
Forks
131
PR merge metrics
No merged PRs in 30d

Description

Hi, how can I prevent change in toggle, example, I'm receiving data from database, and when I click in toggle-button I want to execute a method which changes value in database, but I can cancel that operation, problem is when I click on button it changes automatically even canceling operation, what I want is that the button wait if response is true or flase to change. Many thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.