mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +01:00 
			
		
		
		
	feat(react/collections/board): disable autofill when entering note title
This commit is contained in:
		
							parent
							
								
									220858926f
								
							
						
					
					
						commit
						3ce6b43018
					
				| @ -246,6 +246,7 @@ export function TitleEditor({ currentValue, placeholder, save, dismiss, multilin | |||||||
|             inputRef={inputRef} |             inputRef={inputRef} | ||||||
|             currentValue={currentValue ?? ""} |             currentValue={currentValue ?? ""} | ||||||
|             placeholder={placeholder} |             placeholder={placeholder} | ||||||
|  |             autoComplete="trilium-title-entry" // forces the auto-fill off better than the "off" value.
 | ||||||
|             rows={multiline ? 4 : undefined} |             rows={multiline ? 4 : undefined} | ||||||
|             onKeyDown={(e: JSX.TargetedKeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => { |             onKeyDown={(e: JSX.TargetedKeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => { | ||||||
|                 if (e.key === "Enter") { |                 if (e.key === "Enter") { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran