Added search customization to DropdownLabels (#4011)

Signed-off-by: Oleg Solodkov <oleg.solodkov@xored.com>
This commit is contained in:
Oleg Solodkov 2023-11-20 12:21:49 +04:00 committed by GitHub
parent 1e453f870e
commit e3b95a46ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,8 @@
export let minW0 = true
export let disabled: boolean = false
export let enableSearch: boolean = true
let container: HTMLElement
let opened: boolean = false
@ -69,7 +71,7 @@
opened = true
showPopup(
DropdownLabelsPopup,
{ placeholder, items, multiselect, selected },
{ placeholder, items, multiselect, selected, enableSearch },
container,
(result) => {
if (result != null) {