mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(settings): indexer forms disable autocomplete in TexField (#828)
fix(settings): indexer forms disable autocomplete textfields
This commit is contained in:
parent
ef75b67b25
commit
5e7acb1996
2 changed files with 17 additions and 14 deletions
|
@ -10,15 +10,16 @@ import { SelectFieldProps } from "./select";
|
|||
import { CustomTooltip } from "../tooltips/CustomTooltip";
|
||||
|
||||
interface TextFieldWideProps {
|
||||
name: string;
|
||||
label?: string;
|
||||
help?: string;
|
||||
placeholder?: string;
|
||||
defaultValue?: string;
|
||||
required?: boolean;
|
||||
hidden?: boolean;
|
||||
tooltip?: JSX.Element;
|
||||
validate?: FieldValidator;
|
||||
name: string;
|
||||
label?: string;
|
||||
help?: string;
|
||||
placeholder?: string;
|
||||
defaultValue?: string;
|
||||
required?: boolean;
|
||||
autoComplete?: string;
|
||||
hidden?: boolean;
|
||||
tooltip?: JSX.Element;
|
||||
validate?: FieldValidator;
|
||||
}
|
||||
|
||||
export const TextFieldWide = ({
|
||||
|
@ -28,6 +29,7 @@ export const TextFieldWide = ({
|
|||
placeholder,
|
||||
defaultValue,
|
||||
required,
|
||||
autoComplete,
|
||||
tooltip,
|
||||
hidden,
|
||||
validate
|
||||
|
@ -59,6 +61,7 @@ export const TextFieldWide = ({
|
|||
placeholder={placeholder}
|
||||
hidden={hidden}
|
||||
required={required}
|
||||
autoComplete={autoComplete}
|
||||
/>
|
||||
)}
|
||||
</Field>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue