Re: [w3c/webcomponents] Need callback for form submit data (#187)

@dflorey `ElementInternals` is a helper for custom element authors, and browsers never call its methods internally.

Overriding `reportValidity()` is easy.  We can just add our own `reportValidity()` to the custom element class.  However, we have no ways to override [interactive validation](https://html.spec.whatwg.org/C/#interactively-validate-the-constraints) UI.  It's an issue of not only form-associated custom elements, but also built-in form controls.
I recommend to file a new issue on https://github.com/whatwg/html/issues .


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/187#issuecomment-619674533

Received on Monday, 27 April 2020 02:30:39 UTC