LHNCBC / formbuilder-lhcforms

Build LHC-Forms and FHIR Questionnaires
Other
28 stars 22 forks source link

help text considered as item #65

Closed Rosnyni closed 1 year ago

Rosnyni commented 1 year ago

I'm not sure it is a bug, but filling the help text attributes lead to the creation of a new child item of type display in the Questions Tree.

If it is not a bug, may be having some information on the child item informing the user that this item is the help text of his father item should be considered.

plynchnlm commented 1 year ago

Are you seeing that in the UI or in the JSON output? In FHIR, help text for an item is itself a child item of the item, so it is normal to see that in the JSON output.

Rosnyni commented 1 year ago

I see it both in the JSON preview and in the UI :

image

the 'help text of item 0' item was created by filling the 'help text' attribute of the 'item 0'.

plynchnlm commented 1 year ago

Thanks for that screenshot. I don't think that should be showing up. In the previous version (still also available for now) it does not show up. In current version, it is really odd to have a help text field one on item which then clears and generates a new child item in the tree, so I think this is something we need to fix. Thanks for the report.

Rosnyni commented 1 year ago

Thank you for the huge work you providing with the formbuilder !

akanduru commented 1 year ago

This is fixed.