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
The issue is not all banks (a few actually) don't take the "-" separator, so it should be optional when not needed, while others allow you to enter a 0 or 00 as the last digits or even as the first digits in order to comply with their longer or shorter account number formats.
The image bellow shows that the mask is not considering a shorter version of Sicoob Bank account number, it should be masked to 12345-6
The text was updated successfully, but these errors were encountered:
Hi there! Thanks for use-mask-input, it has been of great help!
I have a project where I'd need an input to be able to mask a large number of Brazilian bank accounts. Here's a list of most of them: https://dev.iugu.com/reference/adicionar-domicilio-bancario
As long as there are too many different formats, would there be a cleaner way to mask all these format variations?
I'm using Next.js 14, shadcn ui and react-hook-form, and here's what I'm trying to achieve:
The issue is not all banks (a few actually) don't take the "-" separator, so it should be optional when not needed, while others allow you to enter a 0 or 00 as the last digits or even as the first digits in order to comply with their longer or shorter account number formats.
The image bellow shows that the mask is not considering a shorter version of Sicoob Bank account number, it should be masked to
12345-6
The text was updated successfully, but these errors were encountered: