vue-formulate icon indicating copy to clipboard operation
vue-formulate copied to clipboard

Options overrides v-model

Open DregondRahl opened this issue 4 years ago • 0 comments

Describe the bug Set a model as a 'ref', add a computed value into the model object from fetch(). When the input has "options" in the form, it overrides the model, showing only the default option.

To Reproduce Steps to reproduce the behavior: https://codepen.io/dregond/pen/qBrxgwL

  • run the pen
  • { "type": "TEST" } only shows
  • remove :options="options"
  • v-model data shows

Reproduction https://codepen.io/dregond/pen/qBrxgwL

CodePen:

https://codepen.io/boyd/pen/YzyJPor

Expected behavior It shouldn't override the model.

Screenshots image

image

DregondRahl avatar Jun 03 '21 11:06 DregondRahl