IDEMSInternational / open-app-builder

PLH App Frontend
GNU General Public License v3.0
5 stars 24 forks source link

[FEATURE] Combo box / Radio button group to interpret answer list blank entries #2166

Closed esmeetewinkel closed 6 months ago

esmeetewinkel commented 8 months ago

What? When the text or image in an answer list for a radio button grid or a combo box is blank/undefined, this shows in the app as "undefined" (in case of text) and a "image-not-found" icon (in case of an image).

Why? In ParentApp for Kids, we have an answer list of the form

name:option_1 | text:@local.option_1_text | image: @local.option_1_image; 
name:option_2 | text:@local.option_2_text | image: @local.option_2_image;
name:option_3 | text:@local.option_3_text | image: @local.option_3_image;
name:option_4 | text:@local.option_4_text | image: @local.option_4_image;
name:option_5 | text:@local.option_5_text | image: @local.option_5_image;
name:option_6 | text:@local.option_6_text | image: @local.option_6_image

where

Rather than authoring conditions in this answer list (do not display if entry is blank) I think it would be better if the component would decide this.

How? question template connect_articles data list populating this template

image