F
Filamentβ€’2mo ago
SHA256_

How can I show multiple images from a has many from a model with infolist

I'm looking to try and show multiple photos that's attached to my model as a hasMany relationship thank you.
7 Replies
SHA256_
SHA256_OPβ€’2mo ago
RepeatableEntry::make('images')
->schema([
ImageEntry::make('images')
->disk('public')
->size(20)
])
->columns(2)
RepeatableEntry::make('images')
->schema([
ImageEntry::make('images')
->disk('public')
->size(20)
])
->columns(2)
I've tried that but shows no images never mind got it working I see how it works
LeandroFerreira
LeandroFerreiraβ€’2mo ago
what is the relationship name?
SHA256_
SHA256_OPβ€’2mo ago
I've sorted it now thank you πŸ™‚
LeandroFerreira
LeandroFerreiraβ€’2mo ago
could you share the code?
SHA256_
SHA256_OPβ€’2mo ago
RepeatableEntry::make('images')
->schema([
ImageEntry::make('name')
->disk('public')
->size(20)
])
->columns(2)
RepeatableEntry::make('images')
->schema([
ImageEntry::make('name')
->disk('public')
->size(20)
])
->columns(2)
Idk what discord formats doing lol
LeandroFerreira
LeandroFerreiraβ€’2mo ago
ahh ok πŸ‘
Want results from more Discord servers?
Add your server