0👍
You could try binding the value from the input to the href like so
<button :href="inputValue"/>
And set the inputValue with the input
<input v-model="inputValue" />
The colon :
is shorthand for v-bind:
The v-model will set the value on input, if you only want it to set on enter try
<input v-model="inputValue.lazy" />
- [Vuejs]-How to make params that automatically scrolls to a section
- [Vuejs]-$refs resetFields not a function AntDesign
Source:stackexchange.com