Skip to content

Commit bf849be

Browse files
authored
Add form to workflow advanced search (#1055)
1 parent ab75548 commit bf849be

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/lib/components/workflow/workflow-advanced-search.svelte

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949

5050
<div class="flex-items-center flex grow gap-4">
5151
<div class="flex h-12 w-full items-center gap-0" in:fade>
52-
<div
52+
<form
53+
on:submit|preventDefault={onSearch}
5354
class="relative flex h-12 w-full items-center gap-0"
5455
in:fly={{ x: -100, duration: 150 }}
5556
>
@@ -68,10 +69,10 @@
6869
variant="primary"
6970
class="h-10"
7071
unroundLeft
71-
on:click={onSearch}
72+
type="submit"
7273
>
7374
Search
7475
</Button>
75-
</div>
76+
</form>
7677
</div>
7778
</div>

0 commit comments

Comments
 (0)