X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-table.html;h=e7363880165ab6f8a7ab15d2f464c88d686cee97;hb=db21275347bb469868e81d4ca2bbed846d95f143;hp=0c3c005639fc9c9bd9271f5187764f4a1675014e;hpb=7002af78bc3e683ff8ce18b39de6d7de484422bf;p=freeside.git diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html index 0c3c00563..e73638801 100644 --- a/httemplate/elements/select-table.html +++ b/httemplate/elements/select-table.html @@ -1,77 +1,218 @@ - + '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