diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-10-24 20:10:30 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-10-24 20:10:30 -0700 |
| commit | 30ef568f955526b259892399ba7432dbfce46347 (patch) | |
| tree | 8083c73c3a32dbbdd427bcfce01cd60f8452f32c | |
| parent | bae67061ffa6fb64b94714adf50e272feb759f2d (diff) | |
selectable choice for arbitrary fields, RT#25623
| -rw-r--r-- | httemplate/edit/elements/svc_Common.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html index 0d9d36c07..58af6bc83 100644 --- a/httemplate/edit/elements/svc_Common.html +++ b/httemplate/edit/elements/svc_Common.html @@ -117,6 +117,11 @@ $f->{'hashref'} = { 'classnum'=>$columndef->columnvalue }; + } elsif ( $flag eq 'S' ) { #selectable choice + $f->{type} = 'select'; + $f->{options} = [ split( /\s*,\s*/, + $columndef->columnvalue) + ]; } if ( $f->{'type'} eq 'select-svc_pbx' |
