-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show an initial first set of a repeating group when it is required #2345
Comments
Reading the documentation, it seems like a similar feature was planned/implemented before? https://open-forms.readthedocs.io/en/2.0.0_a/manual/forms/examples/repeating_groups.html However, I don't see this mentioned option in the properties window of 2.0.0: |
Yes, but we ran into formio bugs and decided to scrap that option :( See #2081 for context, adding blocked label as this is blocked by formio/formio.js#4620 |
@SilviaAmAm our documentation needs updating, see comment from Erik |
Is it possible to re-add this feature, as the formio bug is closed? |
The upstream issue was closed because it was outdated, not because it was fixed. Additionally even if it was fixed, it's a mountain of work to upgrade to newer Formio versions since we had to patch a lot of things ourselves. Even upgrading to their latest 4.13.x patch release breaks Open Forms :( |
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 #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](https://user-images.githubusercontent.com/111565013/201702045-81ed116b-0264-46e6-aeb3-2a3920328f3f.png)
How I see it as more desirable:
![image](https://user-images.githubusercontent.com/111565013/201702460-adf8b2fb-ead0-49a7-8760-c86fb21ebd33.png)
The text was updated successfully, but these errors were encountered: