Open ikhbalfuady opened 1 year ago
I am having the same problem. When I send the value through a form, the value sent is wrong. Exemple:
this is my config:
config: {
prefix: 'R$ ',
thousands: '.',
decimal: ',',
precision: 2,
disableNegative: true,
min: 0,
},
modelModifiers: { number: true, }
I solved this problem using v-model.lazy in my main model.
my problem has solved when iam using Money3Component, before i used the directive, but i have limitation with component, but for now , my target the problem must be solved first haha maybe in the next vue 4 it will be fixed
What are your limitations with component?
i have been longtime using this library, but its my first time getting some bugs, and make me take a long time to refactory my code, but still stuck, the bug will be affected when iam typing value : 0.10 in model, value is right, return 0.1, but in display, showing value 0.01, so i've got confused with that result the result will be same when i fill the rounded value after decimal separator, like : 0.20, 0.30, 0.90 , the model returned right value, but in display its not same.
this my config