Calden
ToggleButtons with Icons only ?
Hey ! If i have an empty label on the options, i have the icon without label BUT, there still is the "<span class="fi-btn-label"></span>" creating a margin after the icon.
Is there a way to have an option in togglesbuttons with icon only without the margin on the right ?
2 replies
Column relationships problem
Hey !
In a relation manager resource, i have this code :
with just "Tables\Columns\TextColumn::make('enseignants')", i have my badges filled with json, like "{"id":15,"civilite_id":2,"prenom":"Audrey","nom" ...." .
Usually i have to add the field, like "Tables\Columns\TextColumn::make('enseignants.prenom')" to display only "prenom" in the badge. but when i add it, i have a "Call to a member function enseignants() on null" error.
The models is :
`
I dont know what to do to make it work :/
9 replies
repeater and disabledOn
Hey ! Cant find a way to make it work ... i have a repeater with for exemple 2 records in the database ... i'd like my field to be disabled on edit for the records already in the database BUT, if i add a new row on my repeater i'd like to be able to edit the new row field. Any ideas ? 🙂
2 replies
Concat two form fields with multiple select relationship
Hey !
In a resource file, i have this
in the name field, i'd like to concat all selected names of team selected in the multiselect teams field and concat this with the group textinput field
I dont understand how to get teams names with afterStateUpdated, i only get ids of teams.
Any help ? 🙂
2 replies
Installation of Document-Templates with filament.
Hey !
I'm trying to use the laravel Document-Templates plugin (https://github.com/42coders/document-templates) but i'm a newbie "dev" and i dont understand how to first "use it" and 2nd how to implement it in my filament admin panel. I have done all the installation part, except the route.
Filament plugins installations are easy, but i have trouble with this one.
Any help ?
2 replies