vue-highlightable-input icon indicating copy to clipboard operation
vue-highlightable-input copied to clipboard

Can't change variable bound to v-model

Open Mat-thieu opened this issue 5 years ago • 0 comments

There's no way to change the variable when it's used in the v-model of this component

<highlightable-input
      :highlight-style="`color:#0099FF`"
      style="padding: 10px 15px;"
      :highlight-enabled="true"
      :highlight="highlight"
      v-model="input"
      ref="input">
</highlightable-input>
// does nothing
this.input = 'something';

Mat-thieu avatar Jun 20 '19 15:06 Mat-thieu