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)

Thanks in advance.
Solution
inject $component and use str($component->getId())->beforeLast('.')->afterLast('.')
Was this page helpful?