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