-
Notifications
You must be signed in to change notification settings - Fork 303
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
Horizontal layout support for radio buttons in the datacapture library #542
Comments
@shoaibmushtaq25 may I? |
@FikriMilano Yeah sure, you can pick it up. Thanks for it. 👍 |
@FikriMilano One thing I am also thinking about it that this may apply to all choice type questions (radio buttons, check boxes). You can have a chat with @jingtang10 on this if we need to re-phrase the issue title or its scope. |
Use the choice orientation extension: http://hl7.org/fhir/uv/sdc/2019May/rendering.html#control-appearance |
@jingtang10 Correct, I have updated the issue with the correct details. Are you OK with this? Should this be implemented to all choice type questions |
Ok, I will use this |
I think we might as well implement this for all choice type questions. I'm open for further suggestions though. @ekigamba @jingtang10 @shoaibmushtaq25 |
As mentioned here,
Therefore, I plan to add horizontal layout support for radio-button and check-box. |
yeah that's fine. thanks for taking this up. |
cc @f-odhiambo |
Radio group/buttons horizontal layout is not supported in the datacapture library
I added a patient gender as horizontal radio group with the
choiceOrientation
ashorizontal
in Patient questionnaire on implementer app but I found out the horizontal layout is not supported yet in datacapture librarySolution
We need to implement http://hl7.org/fhir/R4/extension-questionnaire-choiceorientation.html for radio-buttons
Alternatives
For now, I have made radio group as default vertical layout on implementer app
Screenshot
Expected result:
Actual result:
Would you like to work on the issue?
I am open to work on it or anyone else can pick it up
cc: @jingtang10 @ekigamba
The text was updated successfully, but these errors were encountered: