ralphredd
ralphredd
FFilament
Created by ralphredd on 8/9/2023 in #❓┊help
Fill other fields (not part of the form) after Create
Hello, is there a way to fill fields of my Model that are not part of the form, for example I have a Title and Slug fields, but don't have the slug text box on the form since it is created 'behind the scenes' from the Title field. Or any other field that is not part of the form but it is required to have a value while creation happens. They are not part of the $data array so can't change them with mutateFormDataBeforeSave
4 replies
FFilament
Created by ralphredd on 8/8/2023 in #❓┊help
Custom action redirect
Hello, what would be the cleanest way to setup a redirect inside a custom action on Edit page. I'd like to redirect back to index page of my resource but this https://filamentphp.com/docs/2.x/admin/resources/editing-records#customizing-form-redirects does not for me with my custom action. Works fine with Save button but not my custom button
13 replies
FFilament
Created by ralphredd on 8/7/2023 in #❓┊help
Disable form field if it has value
Hello, is there a way to disable form field on edit page if for example it is not empty or it has a certain value. I'm trying to use a disabled function but I'm not sure how to get the model values into the condition. Any help appreciated!
10 replies
FFilament
Created by ralphredd on 8/7/2023 in #❓┊help
Multiple fields in one column
Hello, I'm looking for a way to combine 2 fields into a single column, I have a date and time in a separate DB columns but would like to show them as single table column, ie "date - time" kind of layout Thank you!
7 replies