You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
WInput.autofillHints and WFormInput.autofillHints let a sign-in form attach a password manager. Neither widget exposed the hints, so a host could not mark a field as AutofillHints.email or AutofillHints.password even inside an AutofillGroup, and the platform had nothing to match a saved credential against. The parameter is an optional Iterable<String>? beside textInputAction, forwarded to the EditableText that WInput builds and, for WFormInput, to its inner WInput; null keeps today's behavior. Wind creates no AutofillGroup itself, since only the host knows which fields belong to one form. (lib/src/widgets/w_input.dart, lib/src/widgets/w_form_input.dart, test/widgets/w_input_test.dart, test/widgets/w_form_input_test.dart, doc/widgets/w-input.md, doc/widgets/w-form-input.md)