F
Filament5mo ago
morty

What does the `->default()` method do on the panel service provider?

n/t
Solution:
Just did a quick reference search on the codecase. It's only used together with the FilamentManager. So it mostly provides backwards compatibility
Jump to solution
4 Replies
Dennis Koch
Dennis Koch5mo ago
Sets the default panel (if there are more than one)
morty
morty5mo ago
what does being the default panel do though I suppose is what I'm asking considering you access a panel via /app or /admin, why does there need to be a default panel?
Solution
Dennis Koch
Dennis Koch5mo ago
Just did a quick reference search on the codecase. It's only used together with the FilamentManager. So it mostly provides backwards compatibility
morty
morty5mo ago
gotcha, thanks
Want results from more Discord servers?
Add your server
More Posts
afterStateHydrated not working when using multiple Fieldseti'm trying to use afterStateHydrated on FieldA in Fieldset1 to update FieldB in Fieldset2, this doesCopy the data of all fields to an new entryI have a BookResource and would like to have a 'copy' button (next to the Edit button in the list viHow can I get current active form tab in a EditResource page?I use the tabs layout for a form https://filamentphp.com/docs/3.x/forms/layout/tabs, I want to get c`EditAction` and `DeleteAction` on a ViewRecord's `getHeaderActions` method throws an errorI have the following `ViewRecord` page for a resource and adding HeaderActions `EditAction` and `DelEdit the Relation in View ModeI have a resource that has a View Mode and the resource has a relation manager class associated witLight/Dark Mode LogoHi I have the following for my logo: ``` <div x-data="{ isdark: localStorage.getItem('theme') === 'select searchable || multiple || native=false call duplicate ajaxI have a form with a select tag and a repeat. The select tag has allowHtml and searchable(true) attrPage refresh when header action is clickedHi, is it possible to refresh a page when a header action is being clicked? I tried this so far: ``Adding HasMany to Form Tabs or HasOne to the Top TabsHi, i want to add either the hasMany relations to the form tabs like the hasOne Relations: Forms\Set the state of ->afterStateUpdated inside a testMy page shows some text after the user selects a certain entry form a Select::make(). I use the ->af