J
J
Jussss922021-07-15 09:27:02
Vue.js
Jussss92, 2021-07-15 09:27:02

How to remove focus from vue input?

I have a button on the input that opens a modal window.
After closing the modal window, I need to remove focus from the input from which it was opened.
How to do it?

I will not insert the code, there is a large component on the quasar framework

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Pershin, 2021-07-15
@Jussss92

You can subscribe via ref and use blur this.element.blur()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question