Chrome autocompletes password and phone for client contacts #1411

This commit is contained in:
Hillel Coren 2017-04-01 23:16:25 +03:00
parent dac8c85185
commit 4f90da30d6

View File

@ -108,7 +108,7 @@
attr: {name: 'contacts[' + \$index() + '][phone]'}") !!}
@if ($account->hasFeature(FEATURE_CLIENT_PORTAL_PASSWORD) && $account->enable_portal_password)
{!! Former::password('password')->data_bind("value: password()?'-%unchanged%-':'', valueUpdate: 'afterkeydown',
attr: {name: 'contacts[' + \$index() + '][password]'}") !!}
attr: {name: 'contacts[' + \$index() + '][password]'}")->autocomplete('new-password') !!}
@endif
<div class="form-group">
<div class="col-lg-8 col-lg-offset-4 bold">