-
Notifications
You must be signed in to change notification settings - Fork 37
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
feat(Field): start implementing field api #2502
base: next
Are you sure you want to change the base?
Conversation
|
Preview deployments for this pull request: Storybook - |
Coverage Report
File Coverage
|
Fixes #1943
For now just testing creating a
<Field>
component, which uses a utility that works with the real DOM, making it possible to use in a future custom element<ds-field>
as well. This also allows injecting any form element - not just made by us, but any native form element, any form associated custom element or third party components.By using native DOM, there is no
Context
that needs to run on server, and all the wire-up is only for assistive technology - it does not effect the visual representation, meaning it can be done under the hood on the client without causing any layout shift or similar issues.API: