c006/yii2-activeform

Nicer ActiveFields


Keywords
extension, widgets, yii2, activeform, activefields
License
MIT

Documentation

Yii2 ActiveForm

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-source "c006/yii2-activeform" "dev-master"

or add

"c006/c006/yii2-activeform": "dev-master"

to the require section of your composer.json file.

Required

  • jQuery-ui

Demo

Demo: http://demo.c006.us

Options

  • Toggle Switch <?= $form->field($model, 'active')->toggle() ?>

  • Hidden Field <?= $form->field($model, 'hidden_data')->hide() ?> (Will not show label)

Comments / Suggestions

Please provide any helpful feedback or requests.

Thanks.