mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
Added search customization to DropdownLabels (#4011)
Signed-off-by: Oleg Solodkov <oleg.solodkov@xored.com>
This commit is contained in:
parent
1e453f870e
commit
e3b95a46ba
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user