inquiries and claims
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
import ImageUpload from '$lib/components/custom/image-upload/image-upload.svelte';
|
||||
import { genDescription } from '$lib/db/items.remote';
|
||||
import { EMAIL_REGEX_STRING } from '$lib/consts';
|
||||
import { Textarea } from '$lib/components/ui/textarea';
|
||||
|
||||
let itemLocation: string | undefined = $state('');
|
||||
let foundLocation: string | undefined = $state();
|
||||
@@ -41,12 +42,13 @@
|
||||
<Field.Label for="description">
|
||||
Description <span class="text-error">*</span>
|
||||
</Field.Label>
|
||||
<Input
|
||||
<Textarea
|
||||
id="description"
|
||||
name="description"
|
||||
bind:value={description}
|
||||
placeholder="A red leather book bag..."
|
||||
maxlength={200}
|
||||
rows={3}
|
||||
required
|
||||
/>
|
||||
</Field.Field>
|
||||
@@ -60,7 +62,6 @@
|
||||
name="foundLocation"
|
||||
bind:value={foundLocation}
|
||||
placeholder="By the tennis courts."
|
||||
required
|
||||
/>
|
||||
</Field.Field>
|
||||
|
||||
@@ -84,7 +85,7 @@
|
||||
class={itemLocation !== "finderPossession" ? "hidden pointer-events-none opacity-50" : ""}
|
||||
>
|
||||
<Field.Label for="email">
|
||||
Your Email
|
||||
Your Email <span class="text-error">*</span>
|
||||
</Field.Label>
|
||||
<Input
|
||||
id="email"
|
||||
|
||||
Reference in New Issue
Block a user