I'm using in my file but getting the error as inputmask is not a function....
@poornib55 ,
I need more context. Did you include jquery?
You should try to replace $ with jQuery in your js. Like jQuery(...).inputmask
Good guess dude, i accidentally use syntax jq plugin but forgot to load the jq on the page.
Anyway, is it possible to improve the error msg, with this type error?
@brutalcrozt ,
When jQuery is not loaded it will throw an error saying "jQuery not loaded!" as from version [email protected]
Hi,
Which version are you using of the inputmask?
On Fri, Feb 21, 2020 at 4:51 PM João Paulo notifications@github.com wrote:
@RobinHerbots https://github.com/RobinHerbots I'm adding this to my
webpackentry: {
app: './src/js/app.js',
vendor: ['jquery', 'popper.js', 'bootstrap', 'inputmask'],
},and I'm getting this error
Uncaught TypeError: t(...).inputmask is not a function
What's wrong?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobinHerbots/Inputmask/issues/1933?email_source=notifications&email_token=AACNX3ZWHMRJYJ3BG7F5HM3RD72BNA5CNFSM4FKDABG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMTEYLI#issuecomment-589712429,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACNX357CHDUIEVGMLMQKFLRD72BNANCNFSM4FKDABGQ
.
@RobinHerbots fix it, thank you.
Most helpful comment
@brutalcrozt ,
When jQuery is not loaded it will throw an error saying "jQuery not loaded!" as from version [email protected]