Commit e7a70dc69fa4a16fb7b0bb1af617a0c19c09a476
1 parent
ef877b07
for checkbox change web arg value to true instead of column name. This is better for parsing value
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
view/view_table_renderer.anubis
| ... | ... | @@ -428,7 +428,7 @@ public define List(CXM_Form_Field) |
| 428 | 428 | with id = if txt_editor is { none then "", rich_editor then c_name+"_editor"}, |
| 429 | 429 | [text_area([],label(_T(s_name), no_help), html_Id(id), wan(c_name), init(not_null_String(value)), narrow, (Int)5, mandatory), help_line(help, _T)], |
| 430 | 430 | boolean(s_name, c_name, value, help) then |
| 431 | - [checkboxr([],label(_T(s_name), no_help), html_Id(""), wan(c_name), wav(c_name),value, mandatory), help_line(help, _T)], | |
| 431 | + [checkboxr([],label(_T(s_name), no_help), html_Id(""), wan(c_name), wav("true"),value, mandatory), help_line(help, _T)], | |
| 432 | 432 | integer(s_name, c_name, value, help) then |
| 433 | 433 | [input(label(_T(s_name), no_help), wan(c_name), init(abs_to_decimal(value)), small, mandatory), help_line(help, _T)], |
| 434 | 434 | float(s_name, c_name, value, help) then |
| ... | ... | @@ -624,7 +624,7 @@ public define List(CXM_Form_Field) |
| 624 | 624 | with id = if txt_editor is { none then "", rich_editor then c_name+"_editor"}, |
| 625 | 625 | [text_area([],no_label, html_Id(id), wan(c_name), init(not_null_String(value)), narrow, (Int)5, mandatory), help_line(help, _T)], |
| 626 | 626 | boolean(s_name, c_name, value, help) then |
| 627 | - [checkboxr([],no_label, html_Id(""), wan(c_name), wav(c_name),value, mandatory), help_line(help, _T)], | |
| 627 | + [checkboxr([],no_label, html_Id(""), wan(c_name), wav("true"),value, mandatory), help_line(help, _T)], | |
| 628 | 628 | integer(s_name, c_name, value, help) then |
| 629 | 629 | [input(no_label, wan(c_name), init(abs_to_decimal(value)), small, mandatory), help_line(help, _T)], |
| 630 | 630 | float(s_name, c_name, value, help) then | ... | ... |