filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
https://filamentphp.com
MIT License
18.08k stars 2.83k forks source link

Chart filters are loading infinitely #8175

Closed ModestasV closed 1 year ago

ModestasV commented 1 year ago

Package

filament/filament

Package Version

v3.0.37

Laravel Version

v10.0.21

Livewire Version

No response

PHP Version

8.2.7

Problem description

When a filter is created for a widget - it is loading non-stop:

image image

This indicator never goes away

Expected behavior

The loading indicator should disappear once the filter is done loading

Steps to reproduce

Log in to the application using: admin@admin.com / password

On the dashboard, you will see the issue.


The chart was created from the documentation example without any other modifications: https://filamentphp.com/docs/3.x/widgets/charts#filtering-chart-data

Reproduction repository

https://github.com/ModestasV/filamentissue-chart-loading-infinite

Relevant log output

No response

ModestasV commented 1 year ago

Additional:

This was also mentioned in Discord (https://discord.com/channels/883083792112300104/1145717941745238086) as an issue with a potential solution.

sakanjo commented 1 year ago

@ModestasV Thanks for reporting the bug!

ModestasV commented 1 year ago

@sakanjo Thank you for the fix attempt!