Try to prevent LastPass auto-fill

This commit is contained in:
Hillel Coren 2017-09-03 14:03:23 +03:00
parent 21dc46b8da
commit 229761bf37

View File

@ -67,8 +67,9 @@
{!! Former::open($url) {!! Former::open($url)
->method($method) ->method($method)
->addClass('warn-on-exit main-form search') // 'search' prevents LastPass auto-fill http://stackoverflow.com/a/30921628/497368 ->addClass('warn-on-exit main-form search')
->autocomplete('off') ->autocomplete('off')
->name('lastpass-disable-search') // 'search' prevents LastPass auto-fill http://stackoverflow.com/a/30921628/497368
->onsubmit('return onFormSubmit(event)') ->onsubmit('return onFormSubmit(event)')
->rules(array( ->rules(array(
'client' => 'required', 'client' => 'required',