square / maker

Maker Design System by Square

Home Page:https://square.github.io/maker/styleguide/latest-stable/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PinInput Triggers Chrome Incorrect Autofill for All but First Input

tatems opened this issue · comments

Bug description

Chrome will try to guess autofill settings despite having autocomplete="off" for the second and beyond inputs in PinInput (see repro image). Instead, we should try to replicate what ShopPay has done, where they use a single input and fake the input boxes as users type.

Markup on shop pay:
image

Shop pay UI:
shop pay pininput

Reproduction

chrome pininput

Environment

N/A

Addressed by

No response

Can you contribute a fix?

  • I’m interested in opening a pull request for this issue.

🎉 This issue has been resolved in version 15.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀