filament
filament copied to clipboard
Number::useLocale not working
Package
filament/filament
Package Version
v3.2.92
Laravel Version
v11.11.1
Livewire Version
v3.5.1
PHP Version
PHP 8.3.8
Problem description
When adding the number helper function it doesn't work as expected. I used ar locale because it changes the numbers completely.
Expected behavior
To change the Locale according to the provided locale in the AppServiceProvider
Steps to reproduce
- Make a filament project
- Make a test resource
- Add Number::useLocale('ar'); to AppServiceProvider boot() function
- check
Reproduction repository (issue will be closed if this is not valid)
https://github.com/Zacktamondo/FilamentNum
Relevant log output
No response
Donate 💰 to fund this issue
- You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
- 100% of the funding will be distributed between the Filament core team to run all aspects of the project.
- Thank you in advance for helping us make maintenance sustainable!