Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inputmask.extendDefinitions is not a function when importing via Symfony asset mapper #2786

Open
dsands opened this issue Apr 19, 2024 · 0 comments

Comments

@dsands
Copy link

dsands commented Apr 19, 2024

Using the Symfony asset mapper the dependencies are not being loaded. I think I probably need inputmask.dependencyLib and/or inputmask.extensions.js but I don't see where those are available to install.

https://symfony.com/doc/current/frontend/asset_mapper.html#importing-3rd-party-javascript-packages

Console output:

TypeError: Inputmask.extendDefinitions is not a function
at t.apply (input-mask_controller-5972e04e8a145156acc1b9233fee997b.js:17:19)
at t.connect (input-mask_controller-5972e04e8a145156acc1b9233fee997b.js:10:14)
at V.connect (stimulus.index-b5b1d00e42695b8959b4a1e94e3bc92a.js:7:26908)
at U.connectContextForScope (stimulus.index-b5b1d00e42695b8959b4a1e94e3bc92a.js:7:29710)
at stimulus.index-b5b1d00e42695b8959b4a1e94e3bc92a.js:7:37300
at Array.forEach ()
at Z.connectModule (stimulus.index-b5b1d00e42695b8959b4a1e94e3bc92a.js:7:37286)
at Z.loadDefinition (stimulus.index-b5b1d00e42695b8959b4a1e94e3bc92a.js:7:36143)
at stimulus.index-b5b1d00e42695b8959b4a1e94e3bc92a.js:7:39102
at Array.forEach ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant