TexInput money mask allow typing forbidden symbols
Mask applied only on blur and doesn't prevent you from typing letters.
I guess, it has something to do with the wire:model not working properly with Alpine.
It works properly when there's no property "balance" in Livewire\Component class to bind to. But then form validation doesn't work.
17 Replies
remove numeric
Same. I don't think it's connected.
console errors?
are you using admin panel?
No errors. There's only a Livewire warning "unreachable code after return statement" (there are reports about it on livewire discussions). Not sure if it's related.
are you using panel builder?
Yes, I have a panel
filament version?
v3.0.5, livewire v3.0.0-beta.6
same here.. but my code works
Is it a custom page or are you using resources?
I have a few resources and a separate custom page with masks. All of them have the same issue
https://8000-filamentphp-demo-ovf606pp7lj.ws-eu102.gitpod.io/shop/products/create I've added mask to the price field
are you able to insert any value? or only numbers?
Ok, I see. It's firefox only issue
yep, because its working for me
on google chrome..
Yep. It works on Chrome and numeric() can be active too.
Solution
firefox issue, I agree
Thanks. I guess it's livewire issue then