Closed kryshac closed 1 year ago
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
when drop special characters is different from special characters the validation does not always work
example mask: +000 specialCharacters: ['+', ' '] dorpSpecialCharacters: [' '] value: +37
+000
['+', ' ']
[' ']
+37
when the validation is done, it checks if dropSpecialCharacters is set, but when removing the characters from the value, it removed those from specialCharacters, and therefore the validation was not correct
Issue Number: N/A
@kryshac Thanks for using Ngx-mask and contributing. Please update to latest version, we merged ur pull request
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
when drop special characters is different from special characters the validation does not always work
example mask:
+000
specialCharacters:['+', ' ']
dorpSpecialCharacters:[' ']
value:+37
when the validation is done, it checks if dropSpecialCharacters is set, but when removing the characters from the value, it removed those from specialCharacters, and therefore the validation was not correct
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information