Answer the question
In order to leave comments, you need to log in
How to uncheck the checkbox when clicking on a third-party area?
Good afternoon, tell me if there is such an opportunity to implement unchecking the checkbox when clicking on a third-party area? Checkbox respectively 1
Answer the question
In order to leave comments, you need to log in
It will be convenient to use the plugin https://github.com/ndelvalle/v-click-outside on the view - the name speaks for itself, when clicking outside the specified element, a certain function is performed. In this function, you "check" the checkbox. And so it is possible to process a click on the document on pure js, and if the target is not a checkbox, uncheck it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question