Update inputmask.js

input event to support bootstrapvalidator
This commit is contained in:
Tomek
2014-06-24 12:56:23 +02:00
parent 0b812a49f8
commit fe25e85e40

View File

@@ -209,8 +209,10 @@
Inputmask.prototype.blurEvent = function() {
this.checkVal()
if (this.$element.val() !== this.focusText)
if (this.$element.val() !== this.focusText) {
this.$element.trigger('change')
this.$element.trigger('input')
}
}
Inputmask.prototype.keydownEvent = function(e) {