© 2026 Hedgehog Software, LLC

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

Repeater item id

Hello,

Is there a way to access the item id (or uuid) within the element? For example, to have it available in the
>formatStateUsing(callback)
>formatStateUsing(callback)


Thanks in advance.
Solution
inject
$component
$component
and use
str($component->getId())->beforeLast('.')->afterLast('.')
str($component->getId())->beforeLast('.')->afterLast('.')
Jump to solution
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

Repeater Item Label
FilamentFFilament / ❓┊help
4mo ago
Delete Item in Repeater
FilamentFFilament / ❓┊help
10mo ago
Repeater item index access?
FilamentFFilament / ❓┊help
2y ago
Add item to Repeater
FilamentFFilament / ❓┊help
2y ago