Adding multifields based on numberfield in AEM 6.4
Hello Everyone,
I am creating a component in which I need to add multifields based on the increment or decrement in the numberfield.

For example in the above dialog - Suppose the author adds 3 in the numberfield, now he should be able to add only 3 sets of multifields in the dialog. That is he should be able to click on the "Add" button only 3 times and 3 sets of the field should be available. I am using Coral UI 3 for dialog creation.
Can anyone please provide some insights for the same? I have seen examples with checkbox and select but none with the numberfield.
Thanks and Regards,
Bernadine