mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
fix(web): disable autocomplete on APIKeyAddForm and FilterAddForm (#1546)
* fix(web): disable autocomplete on APIKeyAddForm * fix: add data-1p-ignore to FilterAddForm
This commit is contained in:
parent
5bae500a86
commit
9c8c4a9ab2
2 changed files with 4 additions and 0 deletions
|
@ -127,6 +127,8 @@ export function FilterAddForm({ isOpen, toggle }: filterAddFormProps) {
|
|||
{...field}
|
||||
id="name"
|
||||
type="text"
|
||||
data-1p-ignore
|
||||
autoComplete="off"
|
||||
className="block w-full shadow-sm sm:text-sm rounded-md border py-2.5 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 bg-gray-100 dark:bg-gray-815 dark:text-gray-100"
|
||||
/>
|
||||
|
||||
|
|
|
@ -116,6 +116,8 @@ export function APIKeyAddForm({ isOpen, toggle }: apiKeyAddFormProps) {
|
|||
{...field}
|
||||
id="name"
|
||||
type="text"
|
||||
data-1p-ignore
|
||||
autoComplete="off"
|
||||
className="block w-full shadow-sm sm:text-sm focus:ring-blue-500 dark:focus:ring-blue-500 focus:border-blue-500 dark:focus:border-blue-500 rounded-md border-gray-300 dark:border-gray-700 bg-gray-100 dark:bg-gray-815 dark:text-gray-100"
|
||||
/>
|
||||
{meta.touched && meta.error && <span className="block mt-2 text-red-500">{meta.error}</span>}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue