F
Filament14mo ago
Augadh

How to use InfoList repeatable entry to show files with clickable links

I am saving files in the table as json.
[
"dile1.pdf",
"file2.pdf"
]
[
"dile1.pdf",
"file2.pdf"
]
I wish to use Repeater in infolist builder to text columns with clickable links , but as you see there's no pointer in this array
Components\RepeatableEntry::make('uploads')
->schema([
Components\TextEntry::make('uploads.*'),
]),
Components\RepeatableEntry::make('uploads')
->schema([
Components\TextEntry::make('uploads.*'),
]),
'*' ?? What do I do ? Also Simple list entry plugin is also not working Thanks,
Solution:
Found the solution ```php Components\RepeatableEntry::make('uploads') ->schema([ Components\TextEntry::make(''),...
Jump to solution
1 Reply
Solution
Augadh
Augadh14mo ago
Found the solution
Components\RepeatableEntry::make('uploads')
->schema([
Components\TextEntry::make(''),
]),
Components\RepeatableEntry::make('uploads')
->schema([
Components\TextEntry::make(''),
]),
just leave TextEntry empty.
Want results from more Discord servers?
Add your server