What's the differrence between getActions() and getHeaderActions() ?
Everything is in the title π
8 Replies
getActions is deprecated, you should use getHeaderActions.
Ah, ok thx. I've seen it in a package and was wondering why Filament use getHeaderActions by default π
getHeaderActions calls getActions internally for backwards compatibility if you're still using getActions instead of getHeaderActions
I have another quick question, if it could avoid me to spam with help topics π¬
I is possible to have a default value for a Select ?
->default('value')
, have you tried it?using the select blade component? you need to bind it to a x-model or wire:model and give the property a default value
I just want to have a form select with a value when it is initialized. Like default() but I can"t make it work for a select
Yes but I don't really know what to put as a value, my options are gathered with a db query
maybe just add a preferred default value and then go from there?