Open saresh-krish opened 4 years ago
Try the following:
<PhoneInput enableSearch={true} country={'us'} onChange={this.handleOnChangePrimaryPhone} placeholder={""} inputProps={{ autoComplete: 'off' }} />
Thank you @vdineva this works perfectly
<PhoneInput enableSearch={true} country={'us'} onChange={this.handleOnChangePrimaryPhone} placeholder={""} isValid={true} inputProps={{ autoComplete: 'none' }} />
Some standard props needs to be added back.
Hi I am using react-phone-input-2 in ANTD form , I need to stop the autocompleted in chrome.
<PhoneInput enableSearch={true} country={'us'} onChange={this.handleOnChangePrimaryPhone} placeholder={""} autoComplete= "off" />
this code is not working.Thanks B.Saresh