mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-05 07:20:13 +01:00
fix: security accerdion
This commit is contained in:
parent
43519d9f26
commit
8c2c930153
@ -114,27 +114,26 @@ const CreateUploadModalBody = ({
|
|||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<Accordion>
|
<Accordion>
|
||||||
<Accordion.Item
|
<Accordion.Item value="security" sx={{ borderBottom: "none" }}>
|
||||||
value="Security options"
|
<Accordion.Control>Security options</Accordion.Control>
|
||||||
sx={{ borderBottom: "none" }}
|
<Accordion.Panel>
|
||||||
>
|
<Stack align="stretch">
|
||||||
<Stack align="stretch">
|
<PasswordInput
|
||||||
<PasswordInput
|
variant="filled"
|
||||||
variant="filled"
|
placeholder="No password"
|
||||||
placeholder="No password"
|
label="Password protection"
|
||||||
label="Password protection"
|
{...form.getInputProps("password")}
|
||||||
{...form.getInputProps("password")}
|
/>
|
||||||
/>
|
<NumberInput
|
||||||
|
min={1}
|
||||||
<NumberInput
|
type="number"
|
||||||
min={1}
|
variant="filled"
|
||||||
type="number"
|
placeholder="No limit"
|
||||||
variant="filled"
|
label="Maximal views"
|
||||||
placeholder="No limit"
|
{...form.getInputProps("maxViews")}
|
||||||
label="Maximal views"
|
/>
|
||||||
{...form.getInputProps("maxViews")}
|
</Stack>
|
||||||
/>
|
</Accordion.Panel>
|
||||||
</Stack>
|
|
||||||
</Accordion.Item>
|
</Accordion.Item>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
<Button type="submit">Share</Button>
|
<Button type="submit">Share</Button>
|
||||||
|
Loading…
Reference in New Issue
Block a user