Answer the question
In order to leave comments, you need to log in
How do I get the input value and pass it to a specific block in Vue?
The problem is that I have a Vue component with a modal window.
I need to get its value from the html document, namely input, and pass it to another html tag in the vue component.
Answer the question
In order to leave comments, you need to log in
Ah, well, that's how it is,
<input v-model="myval" placeholder="напиши значение">
<p>Значение: {{ myval }}</p>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question