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

Ability to replace special characters from mask in model

Open mirzinho opened this issue 3 years ago • 0 comments

🚀 feature request

Description

Ability to replace special characters defined in mask for model.

Describe the solution you'd like

Add additional input for characters to be replaced ie [replaceSpecialChars]="["," "."]" meaning replace the coma in the mask with the dot in the model value. So, the mask is 123,22 and the model value would be 123.22

Describe alternatives you've considered

Only workaround is replacing he values in the form or model using replace method.

mirzinho avatar Dec 29 '21 12:12 mirzinho