Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

"." character in input name prevents error message from clearing #92

Closed
lwj5 opened this issue Dec 13, 2015 · 2 comments
Closed

"." character in input name prevents error message from clearing #92

lwj5 opened this issue Dec 13, 2015 · 2 comments

Comments

@lwj5
Copy link

lwj5 commented Dec 13, 2015

Possible solution to add to the list of dirty char.

var elmInputName = elmName.replace(/[.|&;$%@"<>()+,[]{}]/g, '');

Great package btw!

@ghiscoding
Copy link
Owner

I don't understand your issue, can you be a bit more specific of your problem and can you make a Plunker to test with.

@lwj5
Copy link
Author

lwj5 commented Dec 13, 2015

http://plnkr.co/edit/ArMzNELn9vKkWH9SErWQ

If the name attribute of the input field contains a DOT(.) char, the validation error messages will not be purged on input change.

Try clicking submit, or editing the input a few times and you will see.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants