Tobias Platen
i have register auth page and i need to do action like
From Docu: Please be aware that the value of this field is still editable by the user if they decide to use the browser's developer tools. You should not use this component to store sensitive or read-only information.
8 replies
Column Not Found SQL ERROR
You have a sequencing issue. You can only establish a relationship between columns if both exist. The first migration that is executed attempts to establish relationships with a column in a table that doesn't even exist yet.
17 replies
Close Modal After Action from ManageRelatedRecords
If you show us your code, we might be able to help you better. Right now, it's just guessing. I have a task with a nested action in operation where the method cancelParentActions() works without any issues.
7 replies
record in Create Record is null
Looks to me like a copy error in the documentation. In the
EditRecord
class, the getRecord()
method should, as documented, return the corresponding model. However, in the CreateRecord
class, the getRecord()
method will only return the model in the last lifecycle hook afterCreate()
. Before that, you will receive null
. To access the data before that, you will need to use $this->form->getState()
. Do you have an example case in which the $this->halt()
method can be correctly explained?9 replies
Custom message when saving/creating
I assume you are referring to the panel builder. Here, you need to adjust the page classes. Here are relevant excerpts from the documentation.
https://filamentphp.com/docs/3.x/panels/resources/creating-records#customizing-the-save-notification
https://filamentphp.com/docs/3.x/panels/resources/editing-records#customizing-the-save-notification
3 replies
Setting section background color
As far as I can see, this will only work globally for all section headers via styling of
.fi-section-header
.
https://filamentphp.com/docs/3.x/support/style-customization#applying-styles-to-hook-classes9 replies