Closed ahamilton9 closed 1 year ago
Hey @ahamilton9! We're sorry to hear that you've hit this issue. 💛
However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?
We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.
Package
filament/filament
Package Version
v2.17.52
Laravel Version
v10.20.0
Livewire Version
v2.12.6
PHP Version
PHP 8.2.5
Problem description
I am unable to find a way to load the Date-Time adapter for Chart.js. I saw this discussion but can't seem to run this as a global Filament registered script which means I'd have to rewrite the widget view to run it each time: https://github.com/filamentphp/filament/discussions/6088
Expected behavior
Some option to load an appropriate date-time adapter to support time-series charts
Steps to reproduce
Trying to make a chart with scale.type = 'time' will fail by default.
Reproduction repository
https://github.com/filamentphp/filament/
Relevant log output
No response