JQSelect2Contrib

Select2 jQuery widget for Foswiki

Homepage: http://ivaynberg.github.com/select2/
Author(s): Igor Vaynberg
Version: 3.2

This extension adds support for the Select2 jQuery widget to Foswiki.

Select2 magically turns an existing select tag into a widget that supports type-ahead find, but it can do much more: selecting multiple values, remote data sources, infinite scrolling… you name it.

For more information about the widget and how to customize it, see its homepage.

Usage

Use %JQREQUIRE{"select2"}% to make use of Select2 on a wiki page. Add the jqSelect2 CSS class to a select tag to make it turn into a Select2 widget.

Example

%JQREQUIRE{"select2"}%

<select class='jqSelect2' data-placeholder='Select a burger' data-width='element'>
<option>Hamburger</option>
<option>Hamburger deluxe with gold plating</option>
<option>Cheeseburger</option>
<option>Joppiburger</option>
</select>

If Select2 is enabled, you will see the result below:

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Dependencies

NameVersionDescription
Foswiki::Plugins::JQueryPlugin>=4.20Required.

Change History

02 Sep 2016: add .ui-dialog class to drop-down window for proper base css (Foswiki:Main/MichaelDaum)
09 Mar 2015: initial release on foswiki.org (Foswiki:Main/MichaelDaum)
04 Oct 2012: initial check-in of select2 3.2 (Foswiki:Main/JanKrueger)

PackageForm edit

Author Jan Krueger
Version 1.01
Release 02 Sep 2016
Description Select2 jQuery widget for Foswiki
Repository https://github.com/foswiki/JQSelect2Contrib
Copyright © 2012 Modell Aachen GmbH, http://modell-aachen.de/; © 2012-2016 Foswiki Contributors
License GPL (GNU General Public License)
Home Foswiki:Extensions/JQSelect2Contrib
Support Foswiki:Support/JQSelect2Contrib
Topic attachments
I Attachment Action Size Date Who Comment
LICENSEEXT LICENSE manage 938 bytes 02 Sep 2016 - 13:01 NicoleRadziwill  
MakefileEXT Makefile manage 202 bytes 02 Sep 2016 - 13:01 NicoleRadziwill  
jquery.select2.csscss jquery.select2.css manage 12 K 02 Sep 2016 - 13:01 NicoleRadziwill  
jquery.select2.css.gzgz jquery.select2.css.gz manage 2 K 02 Sep 2016 - 13:01 NicoleRadziwill  
jquery.select2.init.jsjs jquery.select2.init.js manage 226 bytes 02 Sep 2016 - 13:01 NicoleRadziwill  
jquery.select2.init.js.gzgz jquery.select2.init.js.gz manage 197 bytes 02 Sep 2016 - 13:01 NicoleRadziwill  
jquery.select2.init.uncompressed.jsjs jquery.select2.init.uncompressed.js manage 357 bytes 02 Sep 2016 - 13:01 NicoleRadziwill  
jquery.select2.jsjs jquery.select2.js manage 35 K 02 Sep 2016 - 13:01 NicoleRadziwill  
jquery.select2.js.gzgz jquery.select2.js.gz manage 9 K 02 Sep 2016 - 13:01 NicoleRadziwill  
jquery.select2.uncompressed.csscss jquery.select2.uncompressed.css manage 16 K 02 Sep 2016 - 13:01 NicoleRadziwill  
jquery.select2.uncompressed.jsjs jquery.select2.uncompressed.js manage 87 K 02 Sep 2016 - 13:01 NicoleRadziwill  
select2.pngpng select2.png manage 613 bytes 02 Sep 2016 - 13:01 NicoleRadziwill  
select2x2.pngpng select2x2.png manage 845 bytes 02 Sep 2016 - 13:01 NicoleRadziwill  
spinner.gifgif spinner.gif manage 1 K 02 Sep 2016 - 13:01 NicoleRadziwill  
Topic revision: r2 - 06 Mar 2020, NicoleRadziwill
© 2020 Ultranauts - 75 Broad Street, 2nd Floor, Suite 206, New York, NY 10004 - info@ultranauts.co