Setting Values in a repeater

Assume that I have a text field named maximum_quantity and a repeater with 2 fields each like this ['repeater' => ['quantity_per_year', 'title']]

How do I set the maximum_quantity value inside the repeater quantity_per_year?
Was this page helpful?