open-forms icon indicating copy to clipboard operation
open-forms copied to clipboard

Show an initial first set of a repeating group when it is required

Open hlmr-erik opened this issue 2 years ago • 5 comments

Thema / Theme

Frontend

Omschrijving / Description

When having a repeating group as required, at least one instance needs to be filled in. As it is now, a user still has to invoke the fields by clicking the "+" button. This seems unnecessary to me. Showing an initial set of fields in this case would fix this story https://github.com/open-formulieren/open-forms/issues/2344 as well; since the required-asterisk wouldn't be needed at all at the repeating-group level; the asterisks at the fields (now showing immediately on tab load) would suffice.

Added value / Toegevoegde waarde

Make the initial appearance of fields match the intention set in the form.

Aanvullende opmerkingen / Additional context

How a first show looks now: image

How I see it as more desirable: image

hlmr-erik avatar Nov 14 '22 14:11 hlmr-erik