mirror of
https://github.com/hcengineering/platform.git
synced 2025-03-12 08:14:42 +00: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 minW0 = true
|
||||||
export let disabled: boolean = false
|
export let disabled: boolean = false
|
||||||
|
|
||||||
|
export let enableSearch: boolean = true
|
||||||
|
|
||||||
let container: HTMLElement
|
let container: HTMLElement
|
||||||
let opened: boolean = false
|
let opened: boolean = false
|
||||||
|
|
||||||
@ -69,7 +71,7 @@
|
|||||||
opened = true
|
opened = true
|
||||||
showPopup(
|
showPopup(
|
||||||
DropdownLabelsPopup,
|
DropdownLabelsPopup,
|
||||||
{ placeholder, items, multiselect, selected },
|
{ placeholder, items, multiselect, selected, enableSearch },
|
||||||
container,
|
container,
|
||||||
(result) => {
|
(result) => {
|
||||||
if (result != null) {
|
if (result != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user