Fixed an issue where users could not autofill their saved passwords in the connect server dialog in the browser. #7627

This commit is contained in:
Pravesh Sharma 2024-06-28 14:44:39 +05:30 committed by GitHub
parent e8f108154d
commit 62a61b403e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,7 +93,7 @@ export default function ConnectServerContent({closeModal, data, onOK, setHeight}
/* Set only if no tunnel password asked */
firstEleRef.current = ele;
}
}} type="password" value={formData['password']} controlProps={{maxLength:null, autoComplete:'new-password'}}
}} type="password" value={formData['password']} controlProps={{maxLength:null}}
onChange={(e)=>onTextChange(e, 'password')} onKeyDown={(e)=>onKeyDown(e)}/>
</Box>
<Box marginTop='12px'>