diff --git a/form/draft/demo/demo.view.tree b/form/draft/demo/demo.view.tree index eabc96b066a..36e0f25477f 100644 --- a/form/draft/demo/demo.view.tree +++ b/form/draft/demo/demo.view.tree @@ -71,7 +71,8 @@ $mol_form_draft_demo $mol_example name \Friends Content <= Friends $mol_select_list pick_enabled true - showed => friends_showed + filter_pattern => friends_filter_pattern + option_title* <= friends_option_title* \ dictionary <= friends_suggestions * jocker \Jocker harley \Harley Quinn diff --git a/form/draft/demo/demo.view.ts b/form/draft/demo/demo.view.ts index 1a5048df9e2..b2e33b3c832 100644 --- a/form/draft/demo/demo.view.ts +++ b/form/draft/demo/demo.view.ts @@ -47,10 +47,15 @@ namespace $.$$ { @ $mol_mem override friends_suggestions() { - if (! this.friends_showed()) return {} this.$.$mol_wait_timeout(500) + this.friends_filter_pattern() return super.friends_suggestions() } + + override friends_option_title(id: string) { + if (! id) return '' + return this.friends_suggestions()[id] + } } } diff --git a/list/list.view.css b/list/list.view.css index f10cc16accf..53c0104edcf 100644 --- a/list/list.view.css +++ b/list/list.view.css @@ -8,7 +8,7 @@ align-items: stretch; align-content: stretch; */ transition: none; - min-height: 2rem; + min-height: 1.5rem; } [mol_list_gap_before] , diff --git a/select/list/list.view.tree b/select/list/list.view.tree index 74e747c4764..45cce334814 100644 --- a/select/list/list.view.tree +++ b/select/list/list.view.tree @@ -9,7 +9,6 @@ $mol_select_list $mol_view enabled <= drop_enabled <= enabled true sub /$mol_view <= Pick $mol_select - showed? <=> showed? false event_select*? <=> event_select*? null align_hor <= align_hor \right options <= options_pickable <= options /string