-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add Form Component - Radio & Checkbox #86
Comments
Add Checkable class as the parent to be extended on commit 2386fb0. |
Fix spacing between icon & slot on commit 7ff5a1d. |
For native form / input feature support such as change handler and form element direct access, the According to the issue thread, this is closed as WONTFIX and expected to fulfill with a polyfill, which implies that it may remain officially unsupported on Safari/iOS in the near future. For now, I prefer to use the "standard way", and introduce the polyfill for Safari/iOS users. |
Studied material-components, which extends LitElement as their base element. That said, they don't use customized built-in elements for form elements, but rather extend all from HTMLElement and build their own. |
Customize built-in component (HTMLInputElement) issues:
2. "type" attribute needs to be user-specified
3. Shadow DOM is not supported for input & label
Due to the issues above, we may need to re-consider using customized built-in elements for Form Components. |
Due the similarity of these 2 components, this issue is opened for developing the further common parts.
The text was updated successfully, but these errors were encountered: