jmrufo
jmrufo
FFilament
Created by jmrufo on 10/22/2024 in #❓┊help
Several recordClasses
Hi guys. I would like to apply several css styles according to the added rules but I can't find a way to be able to do more than one check with recordClasses. If I create this rule it works perfectly: ->recordClasses( fn (Programming $record) => $record->canceled == 1 ? 'my-line-bg-canceled' : null ) But I would also like to add this other one that checks another property: ->recordClasses( fn (Programming $record) => $record->incident == 1 ? 'my-line-bg-incident' : null ); Can someone tell me if this is possible in filament. Thanks to all
6 replies
FFilament
Created by jmrufo on 10/16/2024 in #❓┊help
Concatenated data in select
Hello everyone. I have the following question. Can the concatenated data of several fields of the obtained record be displayed in a filament select? Regards
2 replies
FFilament
Created by jmrufo on 10/16/2024 in #❓┊help
Autofill TextInput based on Select value in FilamentPhp
I am developing a project in FilamentPhp and I have encountered the following problem that I do not know how to solve. I would like to be able to auto-complete a TextInput dynamically depending on the value I select in a Select, that is, the logic would be the following: I select an option from the Select I make a query with the selected option from the Select to retrieve all the information from the model I auto-fill the TextInput with the retrieved information. Can anyone help me with this? Regards
5 replies
FFilament
Created by jmrufo on 9/6/2024 in #❓┊help
Multiples Widget StatsOverview
Hello everyone. I have a question. How can I insert several StatsOverview type widgets? That is, I would like to place several widgets with different information so that they are in different rows. Regards.
7 replies