filament icon indicating copy to clipboard operation
filament copied to clipboard

Number::useLocale not working

Open Zacktamondo opened this issue 8 months ago • 0 comments

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

  1. Make a filament project
  2. Make a test resource
  3. Add Number::useLocale('ar'); to AppServiceProvider boot() function
  4. 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!
Fund with Polar

Zacktamondo avatar Jun 20 '24 13:06 Zacktamondo