surveyjs / custom-widgets

The collection of custom widgets for SurveyJS: Survey Library and Survey Creator :package:
https://surveyjs.io
MIT License
79 stars 78 forks source link

Update Input-mask dependency to latest version #222

Closed mrheault closed 2 years ago

mrheault commented 4 years ago

Specifically to include this fix - https://github.com/RobinHerbots/Inputmask/issues/2285 Loading two separate surveys w/ custom-widgets in two separate vue apps on the same page causes the above input-mask error

Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "input-mask" has already been used with this registry

OlgaLarina commented 2 years ago

@mrheault We have a version of "inputmask": "^5.0.3" written in the dependencies, so try deleting the package-lock.json and reinstalling packages, the latest version package must be installed.