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

View File

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

View File

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