F
Filament5mo 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
1 Reply
awcodes
awcodes5mo ago
I don’t think a repeater is appropriate for this. The point of a repeater is to have the same form for each item of the repeater since they represent multiple item of the same type.
Want results from more Discord servers?
Add your server