Replies: 1 comment 2 replies
-
Hi, thanks for the clarification. Now I understand the actual issue of #222 and #230 reported by @chaosKP. I will provide an API for parsing the formatted value like in v1. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
this is kind-of a follow up to #230
I was trying to resolve issues with validating the value and expected it to be a number as emitted by the component. Coming from your example in https://codesandbox.io/s/using-vue-currency-input-with-quasar-veevalidate-gokw6?file=/src/QCurrencyInput.vue:379-581
The value in validation function contains the formatted string:
while the bound value correctly contains the plain number:
Right now I don't see any api to get the plain unmasked value within that validation method, right? So I need to convert that string back to a number... but I hope this is not intended and I am simply missing something, do I?
Beta Was this translation helpful? Give feedback.
All reactions