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

[component]: update card-control web-component to get rid of form-association #3996

Open
6 tasks
oliverschuerch opened this issue Nov 14, 2024 · 0 comments
Open
6 tasks
Labels
💔 BREAKING This is a breaking change and results in a new major version 📦 components Related to the @swisspost/design-system-components package

Comments

@oliverschuerch
Copy link
Contributor

The web-component implements the used input element in its shadowdom. This causes a lot of work for form-association, event binding, valueAccessor, and more.

Instead of this, we could offer a default slot, where DEVs can add their input field. This means, the input element lives in the lightdom and therefore the whole functionality of the input is given by the browser.

Tasks

@oliverschuerch oliverschuerch added 💔 BREAKING This is a breaking change and results in a new major version 📦 components Related to the @swisspost/design-system-components package labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💔 BREAKING This is a breaking change and results in a new major version 📦 components Related to the @swisspost/design-system-components package
Projects
Status: 👀 Triage
Development

No branches or pull requests

1 participant