2017 © Pedro Peláez
 

yii2-extension yii2-autocomplete-widget

Ajax AutoComplete widget for Yii2

image

anmaslov/yii2-autocomplete-widget

Ajax AutoComplete widget for Yii2

  • Tuesday, November 17, 2015
  • by anmaslov
  • Repository
  • 2 Watchers
  • 1 Stars
  • 2,400 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 13 % Grown

The README.md

Bootstrap Autocomplete widget for YII2

Yii2 Latest Version Build Status Software License, (*1)

The Autocomplete extension is a Yii2 wrapper widget for for the Autocomplete for jQuery plugin. AutoComplete allows you to easily create autocomplete/autosuggest boxes for text input fields., (*2)

Has no dependencies other than jQuery. The widget is specially styled for Bootstrap 3., (*3)

Installation

The preferred way to install this extension is through composer., (*4)

To install, either run, (*5)

$ php composer.phar require anmaslov/yii2-autocomplete-widget "*"

or add, (*6)

"anmaslov/yii2-autocomplete-widget": "*"

to the require section of your composer.json file., (*7)

Usage

Get data from model, (*8)

$data = Link::find()
            ->select('title as value')
            ->asArray()
            ->all();

In view, (*9)

use anmaslov\autocomplete\AutoComplete;

echo AutoComplete::widget([
            'name' => 'link',
            'data' =>  $model,
             'clientOptions' => [
                 'minChars' => 2,
             ],
        ])

License

yii2-autocomplete-widget is released under the MIT License., (*10)

The Versions

17/11 2015

dev-master

9999999-dev

Ajax AutoComplete widget for Yii2

  Sources   Download

MIT

The Requires

 

by Maslov Alexey

extension yii2 jquery yii yii 2 widget autocomplete

29/06 2015

v1.1

1.1.0.0

Ajax AutoComplete widget for Yii2

  Sources   Download

MIT

The Requires

 

by Maslov Alexey

extension yii2 jquery yii yii 2 widget autocomplete