pravda1979/yii2-autocomplete-with-id-widget

Yii2 Jui AutoComplete with Id field widget

dev-master 2019-02-22 18:35 UTC

This package is auto-updated.

Last update: 2025-03-23 08:29:04 UTC


README

Yii2 Jui AutoComplete with Id field widget

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist pravda1979/yii2-autocomplete-with-id-widget "*"

or add

"pravda1979/yii2-autocomplete-with-id-widget": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= $form->field($model, 'attribute_id')->widget(AutoCompleteWithId::className()); ?>```