All Projects → 2amigos → yii2-selectize-widget

2amigos / yii2-selectize-widget

Licence: other
Selectize From Brian Reavis Yii2 Widget

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to yii2-selectize-widget

yii2-grid-view-library
Highly enhanced GridView widget and grid components for Yii2
Stars: ✭ 57 (-21.92%)
Mutual labels:  widget, yii, 2amigos
yii2-multi-select-widget
Bootstrap MultiSelect and MultiSelect Listbox widgets for Yii2
Stars: ✭ 45 (-38.36%)
Mutual labels:  widget, yii, 2amigos
yii2-editable-widget
X-Editable Widget for Yii2
Stars: ✭ 56 (-23.29%)
Mutual labels:  widget, yii
yii2-jstree-widget
jsTree tree widget for yii2
Stars: ✭ 16 (-78.08%)
Mutual labels:  widget, yii
Yii2 Ckeditor Widget
CKEditor WYSIWYG widget for Yii2.
Stars: ✭ 163 (+123.29%)
Mutual labels:  widget, yii
yii2-gallery-widget
BlueImp Gallery Widget for Yii2
Stars: ✭ 60 (-17.81%)
Mutual labels:  yii, 2amigos
yii2-switch-widget
Bootstrap Switch Widget for Yii2
Stars: ✭ 17 (-76.71%)
Mutual labels:  widget, 2amigos
phosphor-float-area
✊ Draggable ⚓ Dockable ↔️ Resizable ⛵ Floating 📑 Tabbed HTML5 dialogs! 🎉
Stars: ✭ 72 (-1.37%)
Mutual labels:  widget
cl-bootstrap
Common Lisp web development widget library for Twitter's Bootstrap
Stars: ✭ 16 (-78.08%)
Mutual labels:  widget
ngx-widget-grid
Angular 2.x or in general ng-x module for dashboards
Stars: ✭ 65 (-10.96%)
Mutual labels:  widget
Textylic
A note taking app developed for the 22nd century
Stars: ✭ 34 (-53.42%)
Mutual labels:  widget
yii2-datetime-widgets
Datetime widgets for Yii2
Stars: ✭ 22 (-69.86%)
Mutual labels:  widget
elm-selectize
selectize-like dropdown menu with autocompletion in elm
Stars: ✭ 28 (-61.64%)
Mutual labels:  selectize
PHP-Frameworks-Bench
Popular PHP Frameworks Benchmark.
Stars: ✭ 28 (-61.64%)
Mutual labels:  yii
material
Material Design Widgets for PySide and PyQt4
Stars: ✭ 66 (-9.59%)
Mutual labels:  widget
react-native-create-widget-tutorial
This is a tutorial for "React Native: How to create a home screen Widget for iOS and Android"
Stars: ✭ 67 (-8.22%)
Mutual labels:  widget
flutter plugins
Flutter插件集合,好用常用的插件.
Stars: ✭ 22 (-69.86%)
Mutual labels:  widget
flutter signature pad
📦 Flutter widget to allow users to sign with finger and export the result as image data.
Stars: ✭ 95 (+30.14%)
Mutual labels:  widget
popover
Popover for Flutter. A popover is a transient view that appears above other content onscreen when you tap a control or in an area.
Stars: ✭ 90 (+23.29%)
Mutual labels:  widget
CombineView
View that combines multiple images
Stars: ✭ 27 (-63.01%)
Mutual labels:  widget

Selectize JS Widget for Yii2

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

Selectize is an extensible jQuery-based custom <select> UI control. It's useful for tagging, contact lists, country selectors, and so on. It clocks in at around ~7kb (gzipped). The goal is to provide a solid & usable experience with a clean and powerful API.

Installation

The preferred way to install this extension is through composer.

Either run

$ composer require 2amigos/yii2-selectize-widget:~1.0

or add

"2amigos/yii2-selectize-widget": "~1.0"

to the require section of your composer.json file.

Usage

Selectize has lots of configuration options. For further information, please check the Selectize plugin website.

Text input widget

To use text input widget add the following to the view

use dosamigos\selectize\SelectizeTextInput;

echo SelectizeTextInput::widget([
    'name' => 'tags',
    'value' => 'love, this, game',
    'clientOptions' => [
        // ...
    ],
]);

Dropdown list widget

To use dropdown list widget add the following to the view

use dosamigos\selectize\SelectizeDropDownList;

echo SelectizeDropDownList::widget([
    'name' => 'tags',
    'items' => ['love', 'this', 'game'],
    'clientOptions' => [
        // ...
    ],
]);

Configuration

SelectizeDropDownList extends from InputWidget, but have additional properties that can be configured.

Property Type Default Description
loadUrl string|array null Optional. This parameter will be passed to Url::to. If set, selectize plugin will be configured to send ajax requests to the defined url to retrieve options. Url must return a valid JSON response.
queryParam string 'query' The name of the request parameter to use on ajax requests
clientOptions array null Configuration of selectize plugin. This configuration is individual for each selectize instance.

Testing

$ ./vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

Credits

License

The BSD License (BSD). Please see License File for more information.


web development has never been so fun
www.2amigos.us
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].