Skip to content

Commit

Permalink
$mol_select_list, auto clean disable, filter from $mol_string to $mol…
Browse files Browse the repository at this point in the history
…_search
  • Loading branch information
zerkalica committed Sep 29, 2023
1 parent 9faa4ec commit 7df44be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions select/list/list.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ $mol_select_list $mol_view
click?event <=> remove*?event null
hint <= badge_hint @ \Drop
enabled <= drop_enabled <= enabled true
filter_auto_clean true
sub /$mol_view
<= Pick $mol_select
align_hor <= align_hor \right
Expand Down
2 changes: 1 addition & 1 deletion select/list/list.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace $.$$ {

new $mol_after_frame(()=> {
if( !this.pick_enabled() ) return
this.Pick().filter_pattern( '' )
if (this.filter_auto_clean()) this.Pick().filter_pattern( '' )
this.Pick().Trigger().focused( true )
this.Pick().open()
})
Expand Down
4 changes: 2 additions & 2 deletions select/select.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ $mol_select $mol_pick
<= Bubble_pane $mol_scroll sub /
<= Menu $mol_list
rows <= menu_content /$mol_view
Filter $mol_string
value? <=> filter_pattern? \
Filter $mol_search
query? <=> filter_pattern? \
hint <= filter_hint @ \Filter..
submit?event <=> submit?event null
enabled <= enabled true
Expand Down

0 comments on commit 7df44be

Please sign in to comment.