Merge pull request #1445 from gentslava/fix/autocomplete

fix(ui): Autocomplete
This commit is contained in:
Mauricio Siu
2025-03-09 01:43:26 -06:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ export const SaveDockerProvider = ({ applicationId }: Props) => {
<FormItem>
<FormLabel>Username</FormLabel>
<FormControl>
<Input placeholder="username" {...field} />
<Input placeholder="Username" autoComplete="username" {...field} />
</FormControl>
<FormMessage />
</FormItem>
@@ -130,7 +130,7 @@ export const SaveDockerProvider = ({ applicationId }: Props) => {
<FormItem>
<FormLabel>Password</FormLabel>
<FormControl>
<Input placeholder="Password" {...field} type="password" />
<Input placeholder="Password" autoComplete="one-time-code" {...field} type="password" />
</FormControl>
<FormMessage />
</FormItem>

View File

@@ -494,7 +494,7 @@ export const AddDatabase = ({ projectId, projectName }: Props) => {
<Input
type="password"
placeholder="******************"
autoComplete="off"
autoComplete="one-time-code"
{...field}
/>
</FormControl>

View File

@@ -207,7 +207,7 @@ export const HandleRegistry = ({ registryId }: Props) => {
<FormControl>
<Input
placeholder="Username"
autoComplete="off"
autoComplete="username"
{...field}
/>
</FormControl>
@@ -227,7 +227,7 @@ export const HandleRegistry = ({ registryId }: Props) => {
<FormControl>
<Input
placeholder="Password"
autoComplete="off"
autoComplete="one-time-code"
{...field}
type="password"
/>