modernkernel/yii2-jnumber

This package is abandoned and no longer maintained. The author suggests using the powerkernel/yii2-jnumber package instead.

Yii2 jQuery Number

Installs: 70

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Type:yii2-extension

1.0.1 2017-12-06 07:57 UTC

This package is not auto-updated.

Last update: 2022-02-01 13:04:05 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])