Download the PHP package olicek/form-selectize without Composer
On this page you can find all versions of the php package olicek/form-selectize. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download olicek/form-selectize
More information about olicek/form-selectize
Files in olicek/form-selectize
Package form-selectize
Short Description Form extension for Nette framework
License GPL-3.0
Homepage https://github.com/Olicek/form-selectize
Informations about the package form-selectize
form-selectize
Form extension for Nette framework
More documentations
- [javascript settings] (https://github.com/Olicek/form-selectize/blob/master/docs/en/javascript.md)
- [ajax] (https://github.com/Olicek/form-selectize/blob/master/docs/en/ajax.md)
Requirements
- Nette 2.2+
- jQuery 1.8+
- [Selectize] (https://github.com/brianreavis/selectize.js)
Installation
The best way to install olicek/form-selectize is using Composer:
After installation server site, you have to install client site. The best way is use bower.
Link selectize.js
from client-side and original selectize.js
and call somewhere function selectize()
.
| NOTE: If you need use previous javascript, it is available in selectize-old.js
Last step is enable the extension using your neon config
Default configuration
Data in array for full mode
id is set as valueField and name as labelField and searchField in config.neon. You can use whatever, have to just set in config.neon or in addSelectize method. For example:
Data in array for select mode
Data for select mode are same as for SelectBox:
Using
Default settings from config.neon
custome settings in method first way (array)
custome settings in method first way (method)
Output is:
Select mode
Full mode
In full mode it will return array with valueField values. If you create some new tag, it will in sub array with plain text.
All versions of form-selectize with dependencies
nette/di Version >= 2.2.0
nette/forms Version >= 2.2.0
nette/php-generator Version >= 2.2.0
nette/utils Version >= 2.2.0