v-money icon indicating copy to clipboard operation
v-money copied to clipboard

Not working if has multiple inputs and write the input value is 1.00

Open bocanhcam opened this issue 6 years ago • 2 comments

<money v-model="form.item_price" v-bind="money" name="item_price" class="form-control" ></money>

<money v-model="discount.price" v-bind="money" name="price" class="form-control" ></money>

`money: {
decimal: '.',
thousands: ',',
prefix: '$ ',
suffix: ' ',
precision: 2,
masked: false,
},`

I have multiple money inputs in my component like this. And when I put 1.00 in money input behind. It is not going to work anymore and even makes my site stop. I can't do anything, can't click on input or do anything else. I have to close the browser.

Have no idea what is going on. Please help!

bocanhcam avatar Feb 22 '19 02:02 bocanhcam

+1

fhferreira avatar Feb 05 '20 14:02 fhferreira

here I added an :key to the parent object and it worked

fhferreira avatar Feb 20 '20 15:02 fhferreira