F
Filamentβ€’3w 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_β€’3w 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β€’3w ago
what is the relationship name?
SHA256_
SHA256_β€’3w ago
I've sorted it now thank you πŸ™‚
LeandroFerreira
LeandroFerreiraβ€’3w ago
could you share the code?
SHA256_
SHA256_β€’3w 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β€’3w ago
ahh ok πŸ‘
Want results from more Discord servers?
Add your server