Braintree-web: Add support for autocomplete attribute in Hosted Fields

Created on 16 Feb 2018  路  3Comments  路  Source: braintree/braintree-web

General information

  • SDK version: 3.0.0
  • Environment: Both
  • Browser and OS: Chrome 64

Issue description

From version 64, Google Chrome requires attribute autocomplete in some input field (including the ones related to credit card), otherwise it shows a warning in console like the attatched image

schermata 2018-02-16 alle 14 37 15

Is possible to add support for it in hosted fields?

reference: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofilling-form-controls:-the-autocomplete-attribute

https://bugs.chromium.org/p/chromium/issues/detail?id=468153

Most helpful comment

We'll take a look at this

All 3 comments

We'll take a look at this

Just noting here for the future that to see the log error, you need to turn on verbose logging in the console. It does not appear by default.

This is fixed in v3.32.0

Was this page helpful?
0 / 5 - 0 ratings