Skip to content

Commit 1573b38

Browse files
committed
Add more precise typing for autoComplete HTML attribute
Replaces: microsoft/TypeScript#52169 This will allow to autocomplete… the `autoComplete` attribute in vscode for example. ![autoComplete autocomplete in vscode](https://user-images.githubusercontent.com/58247/211378145-c01c665b-9f4b-4918-83cc-16532f555935.png) The list is quite long and it's not easy remembering the spelling of each one of them (first_name or given-name? password or current-password?), and it would improve the UX of sites if they were more appropriately used (for example, some people may think that the input's `type` and/or `name` attributes may be enough for fields like email or password, but knowing to use `autoComplete="new-password"` or `one-time-code` can be really useful).
1 parent 369d9d3 commit 1573b38

File tree

2 files changed

+26254
-19541
lines changed

2 files changed

+26254
-19541
lines changed

0 commit comments

Comments
 (0)