Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/ticket/panel/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const textChannels = ref(await loadTextChannels());
const formSchema = toTypedSchema(
zod.object({
title: zod.string().min(1).max(100),
message: zod.string().min(1).max(100),
message: zod.string().min(1).max(1000),
embed_color: zod.string().min(7).max(7),
channel_id: zod.string(),
}),
Expand Down Expand Up @@ -51,7 +51,7 @@ useHead({
<p class="mb-8 text-2xl">Create Panel</p>
<form class="grid grid-cols-1 gap-4" @submit.prevent="save">
<FieldInput name="title" label="Title" />
<FieldInput name="message" label="Message" />
<FieldTextArea name="message" label="Message" />
<FieldInput name="embed_color" type="color" label="Color" />
<FieldSelect :items="textChannels" name="channel_id" label="Channel" />

Expand Down
4 changes: 2 additions & 2 deletions pages/ticket/panel/edit/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const textChannels = ref(await loadTextChannels());
const formSchema = toTypedSchema(
zod.object({
title: zod.string().min(1).max(100),
message: zod.string().min(1).max(100),
message: zod.string().min(1).max(1000),
embed_color: zod.string().min(7).max(7),
channel_id: zod.string(),
}),
Expand Down Expand Up @@ -112,7 +112,7 @@ useHead({
</div>
<form class="grid grid-cols-1 gap-4" @submit.prevent="save">
<FieldInput name="title" label="Title" />
<FieldInput name="message" label="Message" />
<FieldTextArea name="message" label="Message" />
<FieldInput name="embed_color" type="color" label="Color" />
<FieldSelect :items="textChannels" name="channel_id" label="Channel" />

Expand Down