Skip to content
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

Repeating Group questionnaire items are not getting validated on submit #2752

Open
LZRS opened this issue Dec 6, 2024 · 0 comments · May be fixed by #2755
Open

Repeating Group questionnaire items are not getting validated on submit #2752

LZRS opened this issue Dec 6, 2024 · 0 comments · May be fixed by #2755
Assignees
Labels
effort:small Small effort - 2 days P1 High priority issue

Comments

@LZRS
Copy link
Collaborator

LZRS commented Dec 6, 2024

Describe the bug
With a questionnaire containing an expanded repeating group item with required fields, the nested fields are not getting validated as invalid and questionnaire proceeds to submit

Component
SDC library

Expected behavior
The nested repeating group items should be validated and the questionnaire should not proceed to submit

Screenshots

Smartphone (please complete the following information):

  • Device: [e.g. Pixel4a emulator]
  • Android version: [e.g. Settings -> About phone -> Android version]
  • Build number: [e.g. Settings -> About phone -> Build number]
  • Version [e.g. 22]

Additional context
Sample questionnaire component_repeated_group.json

Would you like to work on the issue?
Yes

LZRS added a commit to opensrp/android-fhir that referenced this issue Dec 9, 2024
@aditya-07 aditya-07 added P1 High priority issue effort:small Small effort - 2 days labels Dec 9, 2024
@LZRS LZRS linked a pull request Dec 10, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort:small Small effort - 2 days P1 High priority issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants