From 0339cd666b4c39ef3772f1d28dc3a5f30f422966 Mon Sep 17 00:00:00 2001 From: Mitch Jackson Date: Sun, 18 Nov 2018 02:46:00 -0500 Subject: RT# 32243 Implement Selectize.js library --- .../selectize/select-multiple-pkg_class.html | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 httemplate/elements/selectize/select-multiple-pkg_class.html (limited to 'httemplate/elements/selectize/select-multiple-pkg_class.html') diff --git a/httemplate/elements/selectize/select-multiple-pkg_class.html b/httemplate/elements/selectize/select-multiple-pkg_class.html new file mode 100644 index 000000000..10c2163f1 --- /dev/null +++ b/httemplate/elements/selectize/select-multiple-pkg_class.html @@ -0,0 +1,46 @@ +<%doc> + + Render a Selectize.js multiple-select to choose from + package classes + + Selectize js and css must be included in the page header. + Use the include_selectize option on header.html + + + Parameters: + * id - id of the element + * onchange - name of a javascript function + * placeholder - Text displayed when no options are selected + + + + + + +<%init> + +my %opt = ( + id => 'selectize-pkg_class', + name => 'selectize_pkg_class', + placeholder => 'Filter Package Classes', + @_ +); + +my @pkg_class = qsearch( pkg_class => { disabled => '' } ); + + \ No newline at end of file -- cgit v1.2.1