F
Filament2y ago
Erik

Modify a repeater's element with $set at an EditResource page

How is it possible to modify an input value of a repeater's element at an edit page? (For example in an other input's afterStateHydrated method) It's always setting back to the related record saved data.
2 Replies
Patrick Boivin
Can you share some code to show what you've been trying?
Tom
Tom2y ago
Just starting to play around with repeaters myself. Have you tried $set('repeaterId.item0.field', 'value'); $set('repeaterId.item1.field', 'another value');?

Did you find this page helpful?