I am trying to use the autoComplete attribute for credit card data (not wrapped in any form), but it does not work.
Any guesses? Is https required for autocomplete to work?
I tried using Safari and Chrome:
<input type='text' placeholder='xxxx xxxx xxxx xxxx' value={this.state.card} autoComplete='on' />
<input type='text' placeholder='xxxx xxxx xxxx xxxx' value={this.state.card} autoComplete='cc-number' />
Try using it as follows:
<input autoComplete={'off'}>
Thanks for the answer. This did not work for me. I just realized: using nameboth iddetails with cc_numberand, of course, not starting the project on localhost, works.
name
id
cc_number
<input type='text' name='cc_number' id='cc_number' ... />
exp_month exp_year.
exp_month
exp_year
, <form>. .
<form>
Source: https://habr.com/ru/post/1608381/More articles:Java NullPointerException when called from an abstract class - javaUISplitViewController, presented modally, never released - ios"certificate verification failed" when connecting docker to IBM Container Cloud - dockerElse method for ifPresent Stream - javaTransferring a log file to HDFS using Flume while writing it - real-timeHow to use jinja2 side server support without breaking inline-script CSP - javascriptWhat is the best way to parse / split based on tags- perlhow to add flask login in flask-admin - pythonHow to disable Spring @JmsListener programmatically at startup - spring-jmsdidSet is called when a property declared as a protocol is received - swiftAll Articles