xj / yii2-form-widget

https://github.com/malsup/form/

3.53 2020-06-05 11:53 UTC

This package is auto-updated.

Last update: 2024-09-05 21:03:36 UTC


README

https://github.com/malsup/form/

composer.json

"require": {
        "xj/yii2-form-widget": "*"
},

在视图中

use xj\form\FormAsset;
FormAsset::register($this);

在资产依赖中

public $depends = [
    'xj\form\FormAsset',
];