Closed nielsvh2103 closed 5 months ago
This will fix the described issue that can be found here: https://github.com/ariaieboy/filament-currency/issues/25
Not much changes except for the input event will also dispatch on load due to calling updateMasked. Also improves readability and less duplication.
If merging, create a new release please :)
Note: if(typeof Number(this.input) === 'number'){
if(typeof Number(this.input) === 'number'){
This may be redundant, not sure though haven't checked.
This will fix the described issue that can be found here: https://github.com/ariaieboy/filament-currency/issues/25
Not much changes except for the input event will also dispatch on load due to calling updateMasked. Also improves readability and less duplication.
If merging, create a new release please :)
Note:
if(typeof Number(this.input) === 'number'){
This may be redundant, not sure though haven't checked.