Skip to content

Commit

Permalink
$mol_form_draft review fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Sep 29, 2023
1 parent 8db3736 commit 801c99b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions form/draft/demo/demo.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $mol_form_draft_demo $mol_example
submit_allowed => publish_allowed
value_str*? => value_str*?
list_string*? => list_string*?
value_rec_bool*? => value_rec_bool*?
dictionary_bool*? => dictionary_bool*?
changed => changed
reset? => reset?
form_fields /
Expand Down Expand Up @@ -62,7 +62,7 @@ $mol_form_draft_demo $mol_example
<= Hobbies_field $mol_form_field
name \Hobbies
Content <= Hobbies $mol_check_list
dictionary_checked? <=> value_rec_bool*hobbies?
dictionary_checked? <=> dictionary_bool*hobbies?
options *
programming \Programming
bikinkg \Biking
Expand Down
2 changes: 1 addition & 1 deletion form/draft/draft.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace $.$$ {
}

@ $mol_mem_key
value_rec_bool( field: string, next? : Record<string, boolean> | null ): Record<string, boolean> {
dictionary_bool( field: string, next? : Record<string, boolean> | null ): Record<string, boolean> {
if (next) {
const prev = this.model_pick(field) as Record<string, boolean>
const normalized = {} as typeof next
Expand Down
2 changes: 0 additions & 2 deletions select/list/list.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ $mol_select_list $mol_view
filter_auto_clean true
sub /$mol_view
<= Pick $mol_select
bubble_minimal_width <= bubble_minimal_width 200
bubble_minimal_height <= bubble_minimal_height 30
align_hor <= align_hor \right
options <= options_pickable <= options /string
value? <=> pick? \
Expand Down
3 changes: 1 addition & 2 deletions select/select.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ $mol_select $mol_pick
<= Bubble_pane $mol_scroll
sub /
<= Menu $mol_list
minimal_width <= bubble_minimal_width 200
minimal_height <= bubble_minimal_height 30
minimal_height 30
rows <= menu_content /$mol_view
Filter $mol_search
query? <=> filter_pattern? \
Expand Down

0 comments on commit 801c99b

Please sign in to comment.