Open monsieurtanuki opened 2 years ago
Should we change our backend API? According to the following pic, the dropdown widget seems to be built based on backend data. I think a thorough solution is to let our backend API not to send per serving data when serving size = 100g.
when columns.length == 1
, a text(100g) will be built. Else, a dropdown(100g/per serving) will be built.