mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 02:57:33 -05:00 
			
		
		
		
	Try to prevent LastPass auto-fill
This commit is contained in:
		
							parent
							
								
									21dc46b8da
								
							
						
					
					
						commit
						229761bf37
					
				@ -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',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user