All Projects → lichunqiang → yii2-lock-form

lichunqiang / yii2-lock-form

Licence: other
disable the button when form submit

Programming Languages

javascript
184084 projects - #8 most used programming language
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to yii2-lock-form

yii2-fileapi-widget
Yii2 FileAPI widget.
Stars: ✭ 51 (+37.84%)
Mutual labels:  yii2, yii2-extension, yii2-widgets
yii2-sweet-submit
sweet sumit using sweetalert
Stars: ✭ 26 (-29.73%)
Mutual labels:  yii2, yii2-extension, yii2-widgets
yii2-emoji
😄 this is a emoji extension of yii2.
Stars: ✭ 17 (-54.05%)
Mutual labels:  yii2, yii2-extension
yii2-linkable-behavior
Yii2 behavior to help creating urls easier
Stars: ✭ 12 (-67.57%)
Mutual labels:  yii2, yii2-extension
yii2-js-urlmanager
That extension provide a way to create urls from your frontend part.
Stars: ✭ 53 (+43.24%)
Mutual labels:  yii2, yii2-extension
yii2-user
Flexible user registration and authentication module for Yii2.
Stars: ✭ 24 (-35.14%)
Mutual labels:  yii2, yii2-extension
yii2-bankcard-info
银行卡卡号分析(Yii2扩展)
Stars: ✭ 15 (-59.46%)
Mutual labels:  yii2, yii2-extension
yii2-vote
Provides voting for any model 👍 👎
Stars: ✭ 70 (+89.19%)
Mutual labels:  yii2, yii2-extension
yii2-cashier
Yii2 Cashier provides an interface to Stripe's subscription billing services.
Stars: ✭ 43 (+16.22%)
Mutual labels:  yii2, yii2-extension
background-translation-i18n
Based on the YII2 module to translate JSON formatted translation files on the web
Stars: ✭ 11 (-70.27%)
Mutual labels:  yii2, yii2-extension
yii2-jwt-tools
An easy way to configure JWT authentication and validation on Yii Framework 2 Projects
Stars: ✭ 22 (-40.54%)
Mutual labels:  yii2, yii2-extension
yii2-ion-slider
Easily customizable range slider with skins support.
Stars: ✭ 21 (-43.24%)
Mutual labels:  yii2, yii2-extension
yii2-pgsql
Improved PostgreSQL schemas for Yii2
Stars: ✭ 34 (-8.11%)
Mutual labels:  yii2, yii2-extension
yii2-querybuilder
Extension for Yii2 Framework to work with jQuery QueryBuilder
Stars: ✭ 41 (+10.81%)
Mutual labels:  yii2, yii2-widgets
behavior-trait
Allows handling events via inline declared methods, which can be added by traits
Stars: ✭ 18 (-51.35%)
Mutual labels:  yii2, yii2-extension
yii2-rollbar
Rollbar for Yii2
Stars: ✭ 36 (-2.7%)
Mutual labels:  yii2, yii2-extension
yii2-newsletter
Module for saving user contacts from newsletter form to database
Stars: ✭ 17 (-54.05%)
Mutual labels:  yii2, yii2-extension
ar-search
Provides unified search model for Yii ActiveRecord
Stars: ✭ 31 (-16.22%)
Mutual labels:  yii2, yii2-extension
yii2-array-query
Yii2 component that allows for searching/filtering the elements of an array.
Stars: ✭ 34 (-8.11%)
Mutual labels:  yii2, yii2-extension
yii2-elasticsearch
Elasticsearch client based on official Elasticsearch PHP library
Stars: ✭ 14 (-62.16%)
Mutual labels:  yii2, yii2-extension

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].