mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 08:25:47 +01:00
🔧 Use PasswordInput for credentials
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
|||||||
LoadingOverlay,
|
LoadingOverlay,
|
||||||
Modal,
|
Modal,
|
||||||
MultiSelect,
|
MultiSelect,
|
||||||
ScrollArea,
|
PasswordInput,
|
||||||
Select,
|
Select,
|
||||||
Switch,
|
Switch,
|
||||||
Tabs,
|
Tabs,
|
||||||
@@ -194,7 +194,6 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
|
|||||||
>
|
>
|
||||||
<Tabs grow>
|
<Tabs grow>
|
||||||
<Tabs.Tab label="Options">
|
<Tabs.Tab label="Options">
|
||||||
<ScrollArea style={{ height: 500 }} scrollbarSize={4}>
|
|
||||||
<Group direction="column" grow>
|
<Group direction="column" grow>
|
||||||
<TextInput
|
<TextInput
|
||||||
required
|
required
|
||||||
@@ -285,7 +284,7 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
|
|||||||
}}
|
}}
|
||||||
error={form.errors.username && 'Invalid username'}
|
error={form.errors.username && 'Invalid username'}
|
||||||
/>
|
/>
|
||||||
<TextInput
|
<PasswordInput
|
||||||
required
|
required
|
||||||
label="Password"
|
label="Password"
|
||||||
placeholder="adminadmin"
|
placeholder="adminadmin"
|
||||||
@@ -299,7 +298,7 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
|
|||||||
)}
|
)}
|
||||||
{form.values.type === 'Deluge' && (
|
{form.values.type === 'Deluge' && (
|
||||||
<>
|
<>
|
||||||
<TextInput
|
<PasswordInput
|
||||||
label="Password"
|
label="Password"
|
||||||
placeholder="password"
|
placeholder="password"
|
||||||
value={form.values.password}
|
value={form.values.password}
|
||||||
@@ -321,7 +320,7 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
|
|||||||
}}
|
}}
|
||||||
error={form.errors.username && 'Invalid username'}
|
error={form.errors.username && 'Invalid username'}
|
||||||
/>
|
/>
|
||||||
<TextInput
|
<PasswordInput
|
||||||
label="Password"
|
label="Password"
|
||||||
placeholder="adminadmin"
|
placeholder="adminadmin"
|
||||||
value={form.values.password}
|
value={form.values.password}
|
||||||
@@ -333,7 +332,6 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Group>
|
</Group>
|
||||||
</ScrollArea>
|
|
||||||
</Tabs.Tab>
|
</Tabs.Tab>
|
||||||
<Tabs.Tab label="Advanced Options">
|
<Tabs.Tab label="Advanced Options">
|
||||||
<Group direction="column" grow>
|
<Group direction="column" grow>
|
||||||
|
|||||||
Reference in New Issue
Block a user