From 3ad86dfb33a5b618513bdc4780571f91d267460a Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Thu, 24 Jun 2021 20:41:50 +0200 Subject: [PATCH] Use our DropdownMenu component for TagAutocomplete --- ts/components/DropdownMenu.svelte | 3 +- ts/editor/Tag.svelte | 5 +-- ts/editor/TagAutocomplete.svelte | 71 +++++++++---------------------- ts/editor/TagEditor.svelte | 7 +-- ts/editor/TagInput.svelte | 8 ++-- 5 files changed, 32 insertions(+), 62 deletions(-) diff --git a/ts/components/DropdownMenu.svelte b/ts/components/DropdownMenu.svelte index e960ef943..2a0bdeb74 100644 --- a/ts/components/DropdownMenu.svelte +++ b/ts/components/DropdownMenu.svelte @@ -7,11 +7,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import { dropdownKey } from "./context-keys"; export let id: string | undefined = undefined; + export let labelledby: string | undefined = undefined; setContext(dropdownKey, null); -