From 30ef568f955526b259892399ba7432dbfce46347 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 24 Oct 2013 20:10:30 -0700 Subject: [PATCH] selectable choice for arbitrary fields, RT#25623 --- httemplate/edit/elements/svc_Common.html | 5 +++++ 1 file changed, 5 insertions(+) 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' -- 2.11.0