webcomponent usage in experience builder

120
0
04-18-2024 09:29 AM
WalaZargouni
New Contributor II

Hello, i am using multiple webcomponents in multiple widgets in my app, each widget has its webcomponents. the problem is whenever i build my webcomponents and integrate them in my widgets i have this error in the console and my widget don't load

Load module error. DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "connection" has already been used with this registry

to avoid this error i have to change manually the name of my webcomponent to "connection-2" for example.
Is there any way how to get rid of this error without manually having to change the name of the webcomponent ?

0 Kudos
0 Replies