aranlucas / react-hook-form-mantine

React Hook Form bindings for Mantine components
https://aranlucas.github.io/react-hook-form-mantine/
83 stars 12 forks source link

How to add mask to inputs #19

Closed Gustavoph closed 5 months ago

Gustavoph commented 9 months ago

Hello, everything ok?

I was trying to add masking to the inputs, but all the ways I tried didn't work, could you tell me the best way to do this?

this is my schema

const schema = z .object({ phone: z.string({ required_error: 'Required Field.' }), })

I need my field to be in this format image

github-actions[bot] commented 7 months ago

Stale issue message

github-actions[bot] commented 5 months ago

Stale issue message