I'm using v3.3.11.
I use the jquery.inputmask.bundle.js
When I import it:
import inputmask from "inputmask/dist/jquery.inputmask.bundle";
I'm getting these errors: ReferenceError: jQuery is not defined and ReferenceError: $ is not defined
Event though I already have imported jquery before inputmask
window.$ = window.jQuery = require('jquery');
and I'm getting $(...).inputmask is not a function when I just import inputmask like this:
import Inputmask from "inputmask";
Is there a way to fix this?
@gh-supersudo ,
Can you use the latest version and import inputmask/dist/jquery.inputmask
@RobinHerbots
I can't because of this bug: https://github.com/RobinHerbots/Inputmask/issues/1922
@gh-supersudo ,
Issue #1922 is fixed. [email protected]
@RobinHerbots
I found a bug, here is the pen: https://codepen.io/Supersudo/pen/BaKoJYw
I have set the min to "01-01-1950", the 02/3 bug didn't happen but when I type the date to 1111101, it sets to 11-11-1909 which is incorrect.
@cdmjr ,
You are correct, I will fix that tomorrow!
@cdmjr ,
Ah, I already had fixed that in version [email protected]
Thanks for the help! I'll close the issue now.
Most helpful comment
@cdmjr ,
Ah, I already had fixed that in version [email protected]