Disable autocomplete on API key
This commit is contained in:
		
							parent
							
								
									aa521d5a19
								
							
						
					
					
						commit
						928326bf6b
					
				| 
						 | 
				
			
			@ -28,7 +28,14 @@
 | 
			
		|||
      }}
 | 
			
		||||
    >
 | 
			
		||||
      <p class="control is-expanded">
 | 
			
		||||
        <input aria-label="OpenAI API key" type="password" class="input" class:is-danger={!apiKey} value={apiKey} />
 | 
			
		||||
        <input
 | 
			
		||||
          aria-label="OpenAI API key"
 | 
			
		||||
          type="password"
 | 
			
		||||
          autocomplete="off"
 | 
			
		||||
          class="input"
 | 
			
		||||
          class:is-danger={!apiKey}
 | 
			
		||||
          value={apiKey}
 | 
			
		||||
        />
 | 
			
		||||
      </p>
 | 
			
		||||
      <p class="control">
 | 
			
		||||
        <button class="button is-info" type="submit">Save</button>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue