With an input that has the following event implemented:
<b-nput
class="input"
id="link"
v-model="link"
placeholder="link"
@focus="$event.target.select()"
></b-input>
I want to utilize the
@focus="$event.target.select()"
event in the following way:
The current method copies the value, but I need it to trigger the select focus event when the user clicks "copy". How can this be achieved correctly?