Closed KishanRavindran closed 2 years ago
Duplicate of #6589, except I didn't realize this also happens on Angular!
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.
Describe the bug
When adding the cds card in angular 12 project I am getting the error/warning as "Uncaught DOMException: Failed to construct 'CustomElement': The result must not have attributes" But not the same when adding other cds web components.
How to reproduce
Create a angular project and install the below npm
npm install @cds/core @cds/city --save
and then installng add @cds/angular
Also add these in the styles.scss or style.css file
Also you can follow the angular installation following the steps for angular from this link
Steps to reproduce the behavior:
Uncaught DOMException: Failed to construct 'CustomElement': The result must not have attributes
Clarity project:
Clarity version:
Framework:
Framework version: Angular 12
Device: