light/yii2-lock-form

yii2 activeform ActiveForm bootstrap loading

Installs: 4 131

Dependents: 1

Suggesters: 0

Security: 0

Stars: 37

Watchers: 3

Forks: 5

Open Issues: 0

Language:JavaScript

pkg:composer/light/yii2-lock-form

1.0.4 2018-09-27 03:10 UTC

This package is auto-updated.

Last update: 2025-10-08 21:39:31 UTC


README

Yii2 Lock Form Extension


version Download Issues

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 use light\widgets\LockBsFormAsset instead. 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

MIT