F
Filamentβ€’8mo 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β€’8mo ago
Using a Split/Stack. We also should have that example in the demo which is open source too
KA
KAβ€’8mo ago
tried Split and got following result:
No description
KA
KAβ€’8mo ago
tried Stack and got following result:
No description
Solution
tesse05
tesse05β€’8mo 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
KAβ€’8mo ago
->grow(false) works πŸ™‚ thanks
KA
KAβ€’8mo ago
final result:
No description
Want results from more Discord servers?
Add your server
More Posts