light/yii2-lock-form
最新稳定版本:1.0.4
Composer 安装命令:
composer require light/yii2-lock-form
包简介
yii2 activeform ActiveForm bootstrap loading
README 文档
README
Yii2 Lock Form Extension
Make form submit button disabled when the form submit.
Install
$ composer require light/yii2-lock-form=~1.0.2
Usage
Can can depends this in your assets:
if you depends on
yii2-bootstrap, you can uselight\widgets\LockBsFormAssetinstead. So can decrease the asset size.
class YourAsset extends AssetBundle
{
//..
public $depends = [
//your other depends
'light\widgets\LockFormAsset'
];
}
Or directly inject in the view:
use light\widgets\LockFormAsset;
LockFormAsset::register($this);
License
统计信息
- 总下载量: 4.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 38
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-01