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
I would expect that upon entering 01, that the text field would add the formatting so it read 01/. Reason being, if a user was really trying to enter in / after the 01, the text field doesn't allow them to do that, which could be frustrating.
Is that doable? I think the trickiest bit might be that when using backspace, we wouldn't want to add the / on every text input event, or they'd never be able to delete any of the formatting. So there'd need to be some way to compare the state of the text before/after the change.
The text was updated successfully, but these errors were encountered:
This is a great plugin. Thank you for simplifying TextInputFormatters.
One feature request is to have eager formatting
Given this configuration for date formatting:
I would expect that upon entering
01
, that the text field would add the formatting so it read01/
. Reason being, if a user was really trying to enter in/
after the01
, the text field doesn't allow them to do that, which could be frustrating.Is that doable? I think the trickiest bit might be that when using backspace, we wouldn't want to add the
/
on every text input event, or they'd never be able to delete any of the formatting. So there'd need to be some way to compare the state of the text before/after the change.The text was updated successfully, but these errors were encountered: