FilamentF
Filament2y ago
Mike

Repeater form, getting current element index?

Im using a repeater to show three forms, one element of the form is a select field. What i need is to autoset the select value based on the repeater index eg:
0 - News
1 - Blog
Etc..

I did a lot of research and tried many things but the issue is that the repeater fields are uuid and not numbers.
So getting $get('../../repeaters') produces a bunch of element uuids
Was this page helpful?