nowak
Maximum execution time of 30 seconds exceeded
It is really any resource list page, to share a simple resource page, it could be my MealTypeResource which I have attached.
I get the error less frequently on edit pages of individual records, but it still occurs.
Increasing the max execution time to 60 seconds seems to help suppress the error quite a bit, thanks for sharing that!
16 replies
Is it possible to create a Filament settings page with a tabbed form, for multiple settings groups?
Thanks! I managed to do it, but I still copied the blade view that the SettingsPage uses, and used it for my
ManageSettings
page.
I tried to get the submit button to be tab specific, but gave up on this in the end, and just checked if the submitted settings have changed, and then only save the changed settings to the database to keep timestamp integrity.
To keep adding and removing settings classes to and from tabs simple, I added an interface for my settings classes, and added tab name, schema, and tab order parameters directly to the settings classes to be used by the filament tabbed settings page. Then the settings page looks through all classes that implements the interface, and builds the tabs dynamically from these.
app/Settings/Contracts/SettingsTabInterface.php
:
an example app/Settings/GeneralSettings.php
And my Filament settings page app/Filament/Pages/ManageSettings.php
in next message15 replies
When using the Tabs layout in custom page, how can I make an action react to tab changes?
I can't seem to get it to work with the query parameters :/
I think I might have to use
->persistTab()
instead of ->persistTabInQueryString()
, as it seems this would store the tab in memory. I am just trying to figure out how to tab into this as well.12 replies
When using the Tabs layout in custom page, how can I make an action react to tab changes?
But the url parameters still update, is there no way to tap into that and react to the change from my custom page? Or do I have to write my own blade view for this?
12 replies
When using the Tabs layout in custom page, how can I make an action react to tab changes?
You mean adding $livewire directly to the hidden() callback like this:
The log output gives me this:
I couldn't find anything about the tab info, should I use $livewire differently?
12 replies