F
Filamentβ€’13mo ago
KA

Two columns in one cell

Wanted to show ImageColumn and InputColumn side by side like documentation. Any idea how to achieve it?
No description
Solution:
in your first Split element(image) add the following attribute:
->grow(false)
->grow(false)
then in your "name" column you can use ...
Jump to solution
6 Replies
Dennis Koch
Dennis Kochβ€’13mo ago
Using a Split/Stack. We also should have that example in the demo which is open source too
KA
KAOPβ€’13mo ago
tried Split and got following result:
No description
KA
KAOPβ€’13mo ago
tried Stack and got following result:
No description
Solution
tesse05
tesse05β€’13mo ago
in your first Split element(image) add the following attribute:
->grow(false)
->grow(false)
then in your "name" column you can use
->description(fn ($record): ?string => $record->email)
->description(fn ($record): ?string => $record->email)
to show the email below the name πŸ™‚
KA
KAOPβ€’13mo ago
->grow(false) works πŸ™‚ thanks
KA
KAOPβ€’13mo ago
final result:
No description
Want results from more Discord servers?
Add your server