Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mask not working correctly #44

Open
renatojf opened this issue Oct 8, 2013 · 6 comments
Open

Mask not working correctly #44

renatojf opened this issue Oct 8, 2013 · 6 comments

Comments

@renatojf
Copy link

renatojf commented Oct 8, 2013

Well, I have a Brazilian DDD field and I'm using this mask: "(99)"

Problem is, when I type 2 numbers, the last parenthesis never shows up and it doesn't tab out of the field. Any solutions por this?

fiddle: http://jsfiddle.net/3vHTV/2/

@wandersonwhcr
Copy link
Contributor

this occours when only fixedChars are at the end of the mask... the script is waiting for numbers and numbers are not allowed anymore... deadlock?

solution: we can fill the textfield with the rest of fixedChars in mask...

@wandersonwhcr
Copy link
Contributor

I don't know if this is the solution, but this patch will fix the issue.

@renatojf
Copy link
Author

Tested here and it works fine. Here's a link to the minified version of it.
https://gist.github.com/renatojf/b715746a58fbaf0e3d01

@Lewiscowles1986
Copy link

so is this fixed or not?

@wandersonwhcr
Copy link
Contributor

yes... I fixed the issued... waiting for merge...

@fabiomcosta
Copy link
Owner

Sorry for the delay on answering this.
Waiting for @wandersonwhcr input on the merge request now.
Thx guys!

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

No branches or pull requests

4 participants