dev-master
9999999-devMask Money base in Jquery maskMoney
BSD-3-Clause
The Requires
by MarcioCamello
extension yii2 maskmoney mcms
Mask Money base in Jquery maskMoney
Mask Money base in Jquery maskMoney http://plentz.github.io/jquery-maskmoney/, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist marciocamello/yii2-mcms-maskmoney "*"
or add, (*4)
"marciocamello/yii2-mcms-maskmoney": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
echo $form->field($model, 'price')->widget(\mcms\maskmoney\MaskMoney::className(),[ 'htmlOptions' => [ 'placeholder' => '0.00', ] ]); echo \mcms\maskmoney\MaskMoney::widget([ 'name' => 'price', 'htmlOptions' => [ 'placeholder' => '0.00', ] ]); ?>
Mask Money base in Jquery maskMoney
BSD-3-Clause
extension yii2 maskmoney mcms