Download the PHP package evosoftcz/form-selectize without Composer
On this page you can find all versions of the php package evosoftcz/form-selectize. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download evosoftcz/form-selectize
More information about evosoftcz/form-selectize
Files in evosoftcz/form-selectize
Package form-selectize
Short Description Form extension for Nette framework
License GPL-3.0
Homepage https://github.com/evosoftcz/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 3.0
- PHP 7.2+
- jQuery 1.8+
- Selectize.js - included with more features
Installation
The best way to install evosoftcz/form-selectize is using Composer:
After installation server site, you have to install client site.
Link selectize.init.js
from client-side and selectize.js
and call somewhere function selectize()
.
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.
Disabled items
In full mode it support disabled items at droplist
All versions of form-selectize with dependencies
nette/di Version >= 3.0.0
nette/forms Version >= 3.0.0
nette/php-generator Version >= 3.0.0
nette/utils Version >= 3.0.0