You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the result of initialExpression is a collection instead of a single value, The SDC only renders the first value instead of the whole collection.
For example, while using it for a multiple choice question, it only populate the first element of resulting collection of the expression.
Describe the bug
When the result of initialExpression is a collection instead of a single value, The SDC only renders the first value instead of the whole collection.
For example, while using it for a multiple choice question, it only populate the first element of resulting collection of the expression.
Component
SDC library
To Reproduce
Apply this patch to main branch. checkbox_not_populated_correctly_.patch
Open any patient & select edit patient questionnaire.
Observe the selected options.
Expected behavior
(Mother , sister & son should be selected).
Screenshots
Smartphone (please complete the following information):
Additional context
Here it's only selecting the first value: https://github.com/google/android-fhir/blob/f42e80427b34dbe9f14ee2f0b4460c38cee0ef[…]a/com/google/android/fhir/datacapture/mapping/ResourceMapper.kt
Would you like to work on the issue?
Yes, creating a PR for fix.
cc: @jingtang10 , @icrc-jofrancisco
The text was updated successfully, but these errors were encountered: