powerkernel / yii2-jnumber
Yii2 jQuery Number
Installs: 115
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
Type:yii2-extension
Requires
- bower-asset/jquery-number: ~2.0
- yiisoft/yii2: ~2.0
This package is auto-updated.
Last update: 2024-12-16 22:20:21 UTC
README
Yii2 jQuery Number
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist powerkernel/yii2-jnumber "*"
or add
"powerkernel/yii2-jnumber": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
$form->field($model, 'number')->widget(JNumberInput::className(), ['scale'=>2])