IDEMSInternational / open-app-builder

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

[BUG] Data items sorts data list by default #2311

Closed esmeetewinkel closed 1 month ago

esmeetewinkel commented 2 months ago

Describe the bug By default, a data items loop sorts its input data list alphabetically by the id column values. Instead, the default should be for it to leave the data list order untouched. Sorting should be optional.

App version v0.16.31

Use case In plh_kids we're looping over a list with id's learn_1, learn_2, learn_3 up to learn_11 (in that order) and I discovered they were displayed in order learn_1, learn_10, learn_11, learn_2, etc

Debug Template debug_data_items_order which loops over debug_data_list_order image

Screenshots and videos

image image N.B. I have no clue why the spacing between the text components is so different on items and on data_items!