mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(web): disable 1password prompts (#1198)
This commit is contained in:
parent
0f9a3e439b
commit
8c7c147328
1 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,7 @@ export const TextFieldWide = ({
|
||||||
hidden={hidden}
|
hidden={hidden}
|
||||||
required={required}
|
required={required}
|
||||||
autoComplete={autoComplete}
|
autoComplete={autoComplete}
|
||||||
|
data-1p-ignore
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Field>
|
</Field>
|
||||||
|
@ -87,6 +88,7 @@ interface PasswordFieldWideProps {
|
||||||
defaultValue?: string;
|
defaultValue?: string;
|
||||||
help?: string;
|
help?: string;
|
||||||
required?: boolean;
|
required?: boolean;
|
||||||
|
autoComplete?: string;
|
||||||
defaultVisible?: boolean;
|
defaultVisible?: boolean;
|
||||||
tooltip?: JSX.Element;
|
tooltip?: JSX.Element;
|
||||||
validate?: FieldValidator;
|
validate?: FieldValidator;
|
||||||
|
@ -99,6 +101,7 @@ export const PasswordFieldWide = ({
|
||||||
defaultValue,
|
defaultValue,
|
||||||
help,
|
help,
|
||||||
required,
|
required,
|
||||||
|
autoComplete,
|
||||||
defaultVisible,
|
defaultVisible,
|
||||||
tooltip,
|
tooltip,
|
||||||
validate
|
validate
|
||||||
|
@ -134,6 +137,8 @@ export const PasswordFieldWide = ({
|
||||||
className={classNames(meta.touched && meta.error ? "focus:ring-red-500 focus:border-red-500 border-red-500" : "focus:ring-blue-500 dark:focus:ring-blue-500 focus:border-blue-500 dark:focus:border-blue-500 border-gray-300 dark:border-gray-700", "block w-full pr-10 dark:bg-gray-800 shadow-sm dark:text-gray-100 sm:text-sm rounded-md")}
|
className={classNames(meta.touched && meta.error ? "focus:ring-red-500 focus:border-red-500 border-red-500" : "focus:ring-blue-500 dark:focus:ring-blue-500 focus:border-blue-500 dark:focus:border-blue-500 border-gray-300 dark:border-gray-700", "block w-full pr-10 dark:bg-gray-800 shadow-sm dark:text-gray-100 sm:text-sm rounded-md")}
|
||||||
placeholder={placeholder}
|
placeholder={placeholder}
|
||||||
required={required}
|
required={required}
|
||||||
|
autoComplete={autoComplete}
|
||||||
|
data-1p-ignore
|
||||||
/>
|
/>
|
||||||
<div className="absolute inset-y-0 right-0 px-3 flex items-center" onClick={toggleVisibility}>
|
<div className="absolute inset-y-0 right-0 px-3 flex items-center" onClick={toggleVisibility}>
|
||||||
{!isVisible ? <EyeIcon className="h-5 w-5 text-gray-400 hover:text-gray-500" aria-hidden="true" /> : <EyeSlashIcon className="h-5 w-5 text-gray-400 hover:text-gray-500" aria-hidden="true" />}
|
{!isVisible ? <EyeIcon className="h-5 w-5 text-gray-400 hover:text-gray-500" aria-hidden="true" /> : <EyeSlashIcon className="h-5 w-5 text-gray-400 hover:text-gray-500" aria-hidden="true" />}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue