You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having the following issue when changing the precision of a number at runtime. Consider the following v-model value: 2.22, When precision is at 2, it shows the correct value (2.22), However, when I change the precision to 3, the v-model value turns to 0.222. I've tested it with v-model.number or v-model.lazy, both presenting the same issue.
other examples with value: 2.22:
starting values
precision: 2
value: 2.22
I'm having the following issue when changing the precision of a number at runtime. Consider the following v-model value: 2.22, When precision is at 2, it shows the correct value (2.22), However, when I change the precision to 3, the v-model value turns to 0.222. I've tested it with v-model.number or v-model.lazy, both presenting the same issue.
other examples with value: 2.22:
starting values
precision: 2
value: 2.22
chaging precision to 3:
precision: 2
value: 0.222
expected value: 2.220
changing back precision to 2:
precision: 2
value: 2.22
expected value: 2.22
chaging precision to 4:
precision: 4
value: 0.0222
expected value: 2.2200
this my config
const config = {
decimal: ',',
thousands: '.',
prefix: '',
suffix: '',
precision: 2,
max: 999999999999,
masked: false,
modelModifiers: {
number: true,
}
}
v-money3: 3.22.2
The text was updated successfully, but these errors were encountered: