Browser Password Suggestion Behavior on Model Provider Page

On the Model Provider page, after focusing on a box like an 'API Key' with the type value set to password, when focus is shifted to any other input field, the input box behaves like a password field, prompting the browser to suggest user passwords.

Browser: Zen Browser
pull/20376/head
Samet Tutkun 12 months ago committed by GitHub
parent c3c67d9608
commit 2b9a181710
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -46,6 +46,7 @@ const Input = ({
placeholder,
onChange = noop,
unit,
type = "text"
...props
}: InputProps) => {
const { t } = useTranslation()
@ -73,6 +74,7 @@ const Input = ({
value={value}
onChange={onChange}
disabled={disabled}
type={type}
{...props}
/>
{showClearIcon && value && !disabled && !destructive && (

Loading…
Cancel
Save