DEV: Use autocomplete="new-password" (#25913)

And normalize `<PasswordField />` arguments

(we were getting `[DOM] Input elements should have autocomplete attributes (suggested: "current-password")` in smoke test logs, this may or may not fix that 😛)
This commit is contained in:
Jarek Radosz
2024-02-27 13:29:12 +01:00
committed by GitHub
parent 64e8ad170e
commit f44bee1333
5 changed files with 16 additions and 14 deletions

View File

@ -3,7 +3,7 @@
</StyleguideExample>
<StyleguideExample @title="password">
<PasswordField @type="password" @placeholder="Placeholder" />
<PasswordField type="password" placeholder="Placeholder" />
</StyleguideExample>
<StyleguideExample @title="textarea">