X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-table.html;h=6fb6b388b267a4e0b9fd12ff7c8bbaf0e0b102d3;hb=f2ee4eec34fea420c1c434194e410f31b6c9edb0;hp=0c3c005639fc9c9bd9271f5187764f4a1675014e;hpb=7002af78bc3e683ff8ce18b39de6d7de484422bf;p=freeside.git diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html index 0c3c00563..6fb6b388b 100644 --- a/httemplate/elements/select-table.html +++ b/httemplate/elements/select-table.html @@ -1,77 +1,224 @@ - + 'pre_options' => [ 'value' => 'option' ], #before normal options + 'post_options' => [ 'value' => 'option' ], #after normal options + 'empty_label' => '', #better specify it though, the default might change + 'multiple' => 0, # bool + 'all_selected' => 0, # useful with multiple + 'disable_empty' => 0, # bool (implied by multiple) + 'label_showkey' => 0, # bool + 'label_callback' => sub { my $record = shift; return "label"; }, + + #more params controlling HTML stuff about the element + 'onchange' => '', #javascript code + + #params (well, a param) controlling the