X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-table.html;h=e7363880165ab6f8a7ab15d2f464c88d686cee97;hb=db21275347bb469868e81d4ca2bbed846d95f143;hp=3235ef6277cb897c2d55aff599cdfbae66bb96fd;hpb=83a6a677f62ca501011d9bac6371344dbb5a13b3;p=freeside.git diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html index 3235ef627..e73638801 100644 --- a/httemplate/elements/select-table.html +++ b/httemplate/elements/select-table.html @@ -1,85 +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