it is not possible to use escaped characters as a separator in dates
skrasnoyarov opened this issue · 2 comments
skrasnoyarov commented
@RobinHerbots Hello! Can you tell me how can I set the escaped characters that are used to display dates as the date separator?
For example: dd\dmm.yyyy.
I use \d as a separator and it doesn't work on version 5.0.8. codesandbox
The same is true for \m, \y.
Is this a bug or is it done on purpose and there is no longer an opportunity to use it like this?
On version 3.3.0, this feature was: codesandbox
Thank`s for your attention!
- OS: macos Monterey 12.5.1
- Browser arc
- Inputmask version 5.0.8
Techn1c4l commented
Confirming that, even the example from the documentation doesn't work:
jQuery('#field').inputmask({ 'alias': 'datetime', 'inputFormat': 'm \\months', escapeChar: '\\' });