Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't add a repetition to repeated section after the last one has been removed #4018
To reproduce, create a form in Form Builder, open the section settings to mark the section as repeated and say it has no minimum number of repetitions, delete the first repetition, click "Add Another Repetition" and notice that no repetition is added. The same also happens at runtime.
We want to support repeated section with no iterations, for consistency with grids, but if, in a first step, if we don't support them, the "No minimum" radio should be disabled or not be there at all in the "Section Settings".
referenced this issue
Apr 19, 2019
I don't know it it is caused by the same underlying issue, but the steps to reproduce seem different: this issue is about the addition failing if the last repeated section has been removed, while for #4032 you need to have additional constraints ("This works if the top-level repeated section only contains a grid. With a nested section, this doesn't work in a simple case.").