onursahindur
Is it possible to add a default emptyStateHeading for all the tables?
Let's answer my own question.
You can add a view at path
resources/views/vendor/filament-tables/components/empty-state/heading.blade.php
and use it like
<h4 {{ $attributes->class(['fi-ta-empty-state-heading text-base font-semibold leading-6 text-gray-950 dark:text-white']) }}>
No Data
</h4>
4 replies
sidebar.end not working on remote server, but works on localhost
If anyone experience this issue, my problem is because I directly called
Filament::registerRenderHook(
'sidebar.end',
fn (): View => view('filament.resources.sidebar.footer')
);
after boot method in AppServiceProvider.
I changed it in Filament::serving function, now it works fine.
Final code looks like this:
public function boot()
{
...
Filament::serving(function () {
....
Filament::registerRenderHook(
'sidebar.end',
fn (): View => view('filament.resources.sidebar.footer')
);
});
...
}
12 replies
sidebar.end not working on remote server, but works on localhost
yes I ran, the strange thing is when I restart all supervisor commands on the server (
supervisorctl restart all
) first the sidebar.end appears, then after I refresh the page the hook disappears again.
I put a tiny log on the FilamentManager.php
from vendor to
public function renderHook(string $name): Htmlable
it logs out hook at first success then after refresh the hook object gets null.12 replies
sidebar.end not working on remote server, but works on localhost
After a deploy I manually trigger php artisan optimize:clear, is this the cache, I cleared the chrome cache also but nothing change. Are there any other commands to clear cache?
12 replies
FileUpload disable listing for large amount of files
Yes, I know 🙂 The question is not that actually.
Even if the free version or pro version, both are using the same FileUpload as Filament does.
So nothing will change if I use media library when uploading certain amount of photos directly.
It locks out web browser after 250-300 photos
9 replies
Radio field reactive strange bug when using from custom modal with HasForms
Sorry I could not understand what you mean,
saved_card_radio
is a field, should I define it in blade also?
Basically I want to show a modal from a custom view, but I don't want to code html in blade, I followed this link https://github.com/filamentphp/filament/discussions/3419#discussioncomment-3344533 and I added $this->form
in that modal to define it from filamentphp
Is this approach wrong?4 replies
Price list for subscriptions
Thanks for tip. I do not have much experience with Livewire, so basically you are suggesting to use properties?
For example I need to fetch tiers on custom page than send them to the view of that custom page?
9 replies