Form-associated custom elements
Newly available since 2023-03-27
Custom elements may act like built-in form elements, via the the attachInternals()
method of HTMLElement
and the ElementInternals
API.
To learn more, see
HTMLElement: attachInternals() method,
ElementInternals at MDN.
Compatibility
- Chrome 77 Released on 2019-09-10
- Chrome Android 77 Released on 2019-09-10
- Edge 79 Released on 2020-01-15
- Firefox 98 Released on 2022-03-08
- Firefox for Android 98 Released on 2022-03-08
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27
Specifications
- HTML Standard (#form-associated-custom-elements), from HTML Workstream (WHATWG).