This repository was archived by the owner on Dec 11, 2017. It is now read-only.
Triggering unmasked.maskedInput event on blur#52
Closed
nathanl wants to merge 2 commits intodigitalBush:masterfrom
Closed
Triggering unmasked.maskedInput event on blur#52nathanl wants to merge 2 commits intodigitalBush:masterfrom
nathanl wants to merge 2 commits intodigitalBush:masterfrom
Conversation
src/jquery.maskedinput.js
Outdated
There was a problem hiding this comment.
Is this line supposed to be inside the if block? It is formatted to look that way but there are no braces.
Author
There was a problem hiding this comment.
Yes, indeed. Thanks for noticing that.
Owner
|
You're only triggering this custom event in the same scenario as we trigger the change event. Why wouldn't you just listen to change? |
Contributor
|
Now I saw what I anwered, what I meant actually was:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trigger event when maskedInput has removed its placeholder characters. This can be useful if other validation is checking whether the field is blank.
For example, if using jQuery Validate: