F
Filament6mo ago
Milorn

Tab badge count not refreshing and toggle with tab is not animating

I have a task resource using tabs on the list based on the model field is_done. Then i have on the table a ToggleColumn that manages the is_done value. I'm facing the following 2 problems: 1- The toggle animation doesn't play when going from false to true. Upon press it freezes and then the record disappeared and appears on the other tab. But when it's true and i toggle it to false, the animation of the toggle is run and then the record disappear, i want this to happen when in the other direction too. 2- When toggling a record from one tab to another, the badge count doesn't refresh instantly, it's always late by one. Here are some code screens and a video showing everything. Thanks in advance !
4 Replies