Disables autocorrect/autocapitalize on remote username field. (#7549)
This commit is contained in:
		
							parent
							
								
									4e1400cecb
								
							
						
					
					
						commit
						50db106252
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -7,7 +7,7 @@
 | 
			
		|||
  = simple_form_for @remote_follow, as: :remote_follow, url: account_remote_follow_path(@account) do |f|
 | 
			
		||||
    = render 'shared/error_messages', object: @remote_follow
 | 
			
		||||
 | 
			
		||||
    = f.input :acct, placeholder: t('remote_follow.acct')
 | 
			
		||||
    = f.input :acct, placeholder: t('remote_follow.acct'), input_html: { autocapitalize: 'none', autocorrect: 'off' }
 | 
			
		||||
 | 
			
		||||
    .actions
 | 
			
		||||
      = f.button :button, t('remote_follow.proceed'), type: :submit
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue