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 using cleave.js with Vue.js, but I got a error when I use v-model with numeric mask. The model value has one more number that the input component, like the simulation.
This seems to be a Vue issue, not a Cleave.js issue.
Hi. I use vue-cleave-component, correctly solves your issue.
I debugged the Cleave.js internals and it did not exceed the number of digits in the block.
{{inputValue}} is 111
newCleave(this.$refs.input,{onValueChanged:function(event){console.dir(event.target.value)// 11! But {{inputValue}}} is 111},blocks: [2],delimiterLazyShow: true,numericOnly: true,})
Hello guys,
I'm using cleave.js with Vue.js, but I got a error when I use v-model with numeric mask. The model value has one more number that the input component, like the simulation.
Link JSFiddle: https://jsfiddle.net/wbxa59hg/
I' use in web application. :)
The text was updated successfully, but these errors were encountered: