mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39: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}
|
||||
required={required}
|
||||
autoComplete={autoComplete}
|
||||
data-1p-ignore
|
||||
/>
|
||||
)}
|
||||
</Field>
|
||||
|
@ -87,6 +88,7 @@ interface PasswordFieldWideProps {
|
|||
defaultValue?: string;
|
||||
help?: string;
|
||||
required?: boolean;
|
||||
autoComplete?: string;
|
||||
defaultVisible?: boolean;
|
||||
tooltip?: JSX.Element;
|
||||
validate?: FieldValidator;
|
||||
|
@ -99,6 +101,7 @@ export const PasswordFieldWide = ({
|
|||
defaultValue,
|
||||
help,
|
||||
required,
|
||||
autoComplete,
|
||||
defaultVisible,
|
||||
tooltip,
|
||||
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")}
|
||||
placeholder={placeholder}
|
||||
required={required}
|
||||
autoComplete={autoComplete}
|
||||
data-1p-ignore
|
||||
/>
|
||||
<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" />}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue