mirror of
https://github.com/material-components/material-web.git
synced 2026-02-04 20:27:21 +08:00
Previously all text fields would focus themselves when the form reports validity, meaning the last one got focus. In reality, reportValidity is supposed to focus the first invalid control. I added a "call" method wrapper around the `onReportValidity` callback that handles focusing logic. PiperOrigin-RevId: 597904790
Labs 🚧
WARNING ⚠️ This folder contains experimental features that are not recommended for production.
Breaking changes may occur that do not bump the major version (vX.0.0).