Convert mask data #834
Closed
peterhijma
started this conversation in
General
Replies: 3 comments 2 replies
|
Validation can be done with custom validators, just convert to a number there and make the checks. As for when submiting, you can make this conversion with the |
0 replies
@GustavoFenilli thanks for your response. I tried it with the I'm probably not doing the hooks right. I'll experiment a bit more and post the code later. |
1 reply
That was it. Thanks a lot @GustavoFenilli |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thanks for this awesome form library. 🥳
When submitting the form, I'd like the input of a form field value to be converted. In my case I have this:
I want to convert the string to an integer. Ideally in a way I can also put some validation on that number.
Couldn't figure it out, tried to find anything in the docs.
All reactions