Fixes
This commit is contained in:
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {Button, Dropdown, Search} from "flowbite-svelte";
|
import {Button, Dropdown, Search} from "flowbite-svelte";
|
||||||
|
import {stopPropagation} from "@components/util.ts";
|
||||||
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@ -48,7 +49,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Button color="light"
|
<Button color="light"
|
||||||
onclick={() => open = true}>{selected === null ? 'Auswählen' : items.find(value => value.value === selected)?.name}</Button>
|
onclick={stopPropagation(() => open = true)}>{selected === null ? 'Auswählen' : items.find(value => value.value === selected)?.name}</Button>
|
||||||
<Dropdown bind:open class="w-60">
|
<Dropdown bind:open class="w-60">
|
||||||
{#snippet header()}
|
{#snippet header()}
|
||||||
<div class="overflow-y-auto p-3 text-sm w-60" >
|
<div class="overflow-y-auto p-3 text-sm w-60" >
|
||||||
|
|||||||
Reference in New Issue
Block a user