Inputmask
Inputmask copied to clipboard
Events: Use "mask" namespace so events can be removed
Describe the bug
I am a developer on the PrimeFaces project and we use your InputMask in conjuction with a DatePicker widget we have written.
We have a need where I want to remove the blur event on the Input in certain circumstances. See: https://github.com/primefaces/primefaces/issues/9259
Using Jquery I want to remove the blur event but when I called input.off("blur"); it removes ALL blur events on the Input. I would like to just remove the InputMask blur event using a namespace like input.off("blur.inputmask"); so it only removes that 1 event.
- Inputmask version 5.0.8-beta.47
PR Submitted