Skip to content

Commit 8a02f94

Browse files
committed
fix: update support form
- set default severity to question since there needs to be a value set but the required attribute on InputSelect doesn't work - require details
1 parent 3db7395 commit 8a02f94

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/routes/(console)/supportWizard.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
subject: null,
8282
category: 'technical',
8383
topic: undefined,
84-
severity: undefined,
84+
severity: 'question',
8585
file: null
8686
};
8787
};
@@ -265,6 +265,7 @@
265265
bind:value={$supportData.message}
266266
placeholder="Type here..."
267267
label="Tell us a bit more"
268+
required
268269
maxlength={4096} />
269270
<Layout.Stack direction="row" justifyContent="flex-end" gap="s">
270271
<Button

src/routes/(console)/wizard/support/store.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export const supportData = writable<SupportData>({
1414
message: '',
1515
subject: '',
1616
category: 'technical',
17+
severity: 'question',
1718
file: null
1819
});
1920

0 commit comments

Comments
 (0)