fix(web): require button type (#9786)

This commit is contained in:
Michel Heusschen 2024-05-27 09:06:15 +02:00 committed by GitHub
parent fc5615eff6
commit 38f4a02a14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 113 additions and 59 deletions

View file

@ -22,6 +22,7 @@
<div id="immich-dropdown" class="relative">
<button
type="button"
{disabled}
on:click={toggle}
aria-expanded={isOpen}
@ -52,6 +53,7 @@
<div class="absolute mt-2 flex w-full flex-col">
{#each options.options as option}
<button
type="button"
on:click={() => {
selected = option;
isOpen = false;