Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

Events: Use "mask" namespace so events can be removed

Open melloware opened this issue 2 years ago • 1 comments

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

melloware avatar Dec 06 '22 16:12 melloware

PR Submitted

melloware avatar Dec 06 '22 17:12 melloware