© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
gladjanus43

ViewField in repeater with record data in livewire component

I have a repeater where I have overwritten the add action with a modal. I want to use the Simple layout of the repeater and use a custom viewField with the data of the records. Does anyone know how to pass the data into the viewField? I only want to nicely show the information in the repeater, no logic is applied to the field so I dont think I need a custom field class

Best case I think would be to pass the record to the viewData() property but I cant figure out how to acces the current record of the repeater
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Access data/record in ViewField
FilamentFFilament / ❓┊help
3y ago
Using value from parent livewire component in ViewField
FilamentFFilament / ❓┊help
13mo ago
Custom Livewire component in a repeater
FilamentFFilament / ❓┊help
15mo ago
Get Table Record in Livewire Component
FilamentFFilament / ❓┊help
16mo ago