4 Replies
I have the same question @Dan Harrin Since the alpinejs mask change the value of the input the masked number send back to backend and all integer and number validation will stop working if we use tha money mask.
just find out, this happend on chrome but not on firefox
Yeah. There is an issue on GitHub already. But I suggest to just transform the string value back to an integer using a cast.
GitHub
erpsaas/app/Casts/MoneyCast.php at 2.x · andrewdwallo/erpsaas
Contribute to andrewdwallo/erpsaas development by creating an account on GitHub.