Thank you for sharing the screenshot, I see that it has been imported exactly as done in the ReadMe instructions. I will see if I can replicate the issue and get back to you post-troubleshooting.
I wanted to let you know I was able to replicate the issue and that it seems to be angular-specific, in regards to using custom elements within the framework. I’m still working to find a solution, but here’s a piece of documentation I’ve been looking into to see what guidance it can provide: Angular Documentation. I will reach back out when I find a way to avoid this error.
My apologies for the delayed response. I have found a workaround for this issue. In the component that you’re rendering the app preview tag and importing the UIToolKit, you’ll want to import CUSTOM_ELEMENTS_SCHEMA from angular/core by adding this line:
import {NgModule, CUSTOM_ELEMENTS_SCHEMA} from '@angular/core'
You’ll also need to add this line to your component module on the same page:
schemas: [
CUSTOM_ELEMENTS_SCHEMA
],
Please let me know if this resolves the error. If not, we can continue to troubleshoot from there.
Hey @rehema.zoom, is it possible to you share the sample angular application which you created to test this, because I’m facing the issue to add schemas:[ CUSTOM_ELEMENTS_SCEHMA ] in component.
The error you’re getting seems to be associated with TypeScript, while the application I used + code I attached is using Javascript only. I’ve attached an article that may provide a solution.