Change repeater items programmatically

Is it possible to change the number of Repeater programmatically, i. e. based on an entered value of another field?
3 Replies
toeknee
toeknee3y ago
A repeater is just a json dataset so in theory mountUsing and passing the dataset in could work depending on how you are wanting to do it
Dan Harrin
Dan Harrin3y ago
on the field, $set() the contents of the repeater in afterStateUpdated()
Daniel
DanielOP3y ago
i will try it, thanks a lot!

Did you find this page helpful?