Hi, thank you for the great plugin!
I'm trying the following:
<Form.Control
id='sortCode'
type='text'
{...registerWithMask('sortCode', ['99-99-99'], {
required: true,
jitMasking: true,
autoUnmask: true,
})}
isInvalid={!!errors.sortCode}
isValid={touchedFields.sortCode && !errors.sortCode}
required
onInput={() => trigger('sortCode')}
/>
After I have all the numbers in place and try to remove the first number, for example, it jumps to the end.
Can I avoid that somehow?