MilenKo
MilenKo
Explore posts from servers
FFilament
Created by MilenKo on 9/30/2024 in #❓┊help
Spatie Settings Checkboxlist
No description
27 replies
FFilament
Created by MilenKo on 9/13/2024 in #❓┊help
Table Actions Column Label alignment
Hello All. It might sound silly but I've been trying to figure out a way to just align the resource Actions column in the table view and I can't seem to find a way to achieve just that silly action. By default all the Table columns have their content and labels aligned to the left, but the actions table column has a right alignment. Based on the documentation, I am able to align the actions themselves to left/right using helper classes, but what I am after is to set the alignment for the label itself. To set the Actions column inside the resource table view I am using: ->actionsColumnLabel('Actions') (where 'Actions' is the desired column name). Even though there is a helper class to align the actions for each row, I am struggling to find a way to provide an extra class or alignment to the label itself. Also I am in a research of a way to add an icon to any table column to make the tables more expressing or UI appealing, however I seem to struggle to pass an icon() tag as well... Any ideas or suggestions to have a simple and elegant solution?
14 replies
FFilament
Created by MilenKo on 9/17/2023 in #❓┊help
Show more than one resource inputs into a single Table\Column
Hello all. Sorry if my question sound silly as I am new to Filament I was trying to read through the documentation for a simple and an elegant way to present the data from multiple table columns into a single one as merged. As an example, I have two fields: date and time where I add the day of event and time of it. In the edit form, I am presenting both separately but in the List I would like to merge the two (e.g. d/m/y - h:i instead of showing extra columns. Why would I separate the two instead of providing a single field DateTime - well it is a project that is required to have events with parameter: start_date, start_time, end_date and end_time. I know i is easy to join the two but I find the picker a bit hard for a non-tech savvy person and my friend asked specifically not to take this way but to have separate input fields. In terms of data storing, it all works perfectly fine and I am totally fine with the parameters used, just not finding a way to merge date and time into a single Table\Column field. If someone can at least point me to the documentation example as I feel it is all documented and I am just not searching for the right keywords...
2 replies