misc: use mono-svelte text input
This commit is contained in:
1 parent
e9168d055e
commit
5ed5395712
15 files changed
+22
-92
No files matched your search
@@ -2,13 +2,11 @@
|
||||
import { goto } from '$app/navigation'
|
||||
import { profile } from '$lib/auth.js'
|
||||
import FileInput from '$lib/components/input/FileInput.svelte'
|
||||
import TextArea from '$lib/components/input/TextArea.svelte'
|
||||
import TextInput from '$lib/components/input/TextInput.svelte'
|
||||
import MarkdownEditor from '$lib/components/markdown/MarkdownEditor.svelte'
|
||||
import { toast } from '$lib/components/ui/toasts/toasts.js'
|
||||
import { getClient, uploadImage } from '$lib/lemmy.js'
|
||||
import { addSubscription } from '$lib/lemmy/user.js'
|
||||
import { Button, Checkbox } from 'mono-svelte'
|
||||
import { Button, Checkbox, TextInput } from 'mono-svelte'
|
||||
|
||||
/**
|
||||
* The community ID to edit.
|
||||
@@ -117,7 +115,7 @@
|
||||
on:input={() => {
|
||||
formData.name = formData.name.toLowerCase().replaceAll(' ', '_')
|
||||
}}
|
||||
disabled={edit}
|
||||
disabled={edit != undefined}
|
||||
/>
|
||||
<TextInput required label="Display name" bind:value={formData.displayName} />
|
||||
<FileInput label="Icon" bind:files={formData.icon} image />
|
||||
|
||||
Reference in new issue
Block a user