kartik-v / yii2-money

An advanced money mask input for Yii 2.0 styled for Bootstrap 3
http://demos.krajee.com/money
Other
27 stars 21 forks source link

Behavior Client-Side Validation #31

Closed hagenr closed 6 years ago

hagenr commented 7 years ago

If i submit the form within a MaskMoney Input, the validate Event of Clientside Validation of Yiiactiveform is fired before the MaskMoney can update the value within its hidden field. Resulting in an erroneuos Message (e.g. "Value cant be empty")

Is there any workaround or what a i doing wrong?

PS: I used the old maskmoney.js because of #29

kartik-v commented 6 years ago

The new yii2-number extension has been released and is now a replacement for the yii2-money extension. Recommend to head over to use that extension. Related #2, #32, #33.