diff --git a/resources/views/currency-mask.blade.php b/resources/views/currency-mask.blade.php index 169bee6..7c502e8 100644 --- a/resources/views/currency-mask.blade.php +++ b/resources/views/currency-mask.blade.php @@ -26,7 +26,7 @@ masked:'', init(){ \$nextTick(this.updateMasked()); - \$watch('masked',()=>this.updateInput()); + \$watch('masked',(value, oldValue)=>this.updateInput(value, oldValue)); \$watch('input', () => this.updateMasked()); }, updateMasked(){