Convert mask data #834
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 |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
That was it. Thanks a lot @GustavoFenilli |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions