Polyconseil / vue-gettext

Translate your Vue.js applications with gettext.
MIT License
278 stars 55 forks source link

v-translate breaks v-model on select #109

Open fjouatte opened 4 years ago

fjouatte commented 4 years ago

It appears that using v-model on select inside v-translate block is causing troubles.

Simple case to reproduce the problem :

<div v-translate>
  <select v-model="selected">
    <option value="1">1</option>
   <option value="2">2</option>
  </select>
  <span>Selected value : {{ this.selected }} </span>
</div>

this.selected is always equal to the initial value