ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

When using date or time separator masks, the returned value contains only the numbers without the separator characters

Open mohamed-badaoui opened this issue 1 year ago • 0 comments

🐞 bug report

Is this a regression?

probably

Description

When using date or time separator masks, the returned value contains only the numbers without the separator. Exemple: With mask="d0/M0/0000" — If you input 01/01/2024, the returned value is 01012024, missing the slash (/) characters. With mask="Hh:m0" — If you input 10:10, the returned value is 1010, missing the colon (:) character.

🔬 Minimal Reproduction

This issue is reproducible at https://jsdaddy.github.io/ngx-mask/#1

🌍 Your Environment

Angular Version: v18x

mohamed-badaoui avatar Oct 18 '24 05:10 mohamed-badaoui