mirror of
https://github.com/immich-app/immich.git
synced 2025-01-16 16:56:46 +01:00
fix(web): search filter form events (#7285)
This commit is contained in:
parent
a771f33fa3
commit
e7995014f9
1 changed files with 9 additions and 3 deletions
|
@ -324,7 +324,13 @@
|
|||
<p class="text-xs py-2">FILTERS</p>
|
||||
<hr class="border-slate-300 dark:border-slate-700 py-2" />
|
||||
|
||||
<form id="search-filter-form relative" autocomplete="off" class="hover:cursor-auto">
|
||||
<form
|
||||
id="search-filter-form relative"
|
||||
autocomplete="off"
|
||||
class="hover:cursor-auto"
|
||||
on:submit|preventDefault={search}
|
||||
on:reset|preventDefault={resetForm}
|
||||
>
|
||||
<!-- PEOPLE -->
|
||||
<div id="people-selection" class="my-4">
|
||||
<div class="flex justify-between place-items-center gap-6">
|
||||
|
@ -566,8 +572,8 @@
|
|||
id="button-row"
|
||||
class="flex justify-end gap-4 py-4 sticky bottom-0 dark:border-gray-800 dark:bg-immich-dark-gray"
|
||||
>
|
||||
<Button color="gray" on:click={resetForm}>CLEAR ALL</Button>
|
||||
<Button type="button" on:click={search}>SEARCH</Button>
|
||||
<Button type="reset" color="gray">CLEAR ALL</Button>
|
||||
<Button type="submit">SEARCH</Button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue