Dropdown Controller does not display selected option

In the inspector panel Dropdown > Transform > Base Text field should be able to take the NULL keyword and generate the line

lv_dropdown_set_text(ui_Dropdown1, NULL);

and not the literal string as below

lv_dropdown_set_text(ui_Dropdown1, “NULL”);

otherwise the selected option is not displayed. I have to manually change it every time I export files!


Our intention was to export NULL when the “Text” field is empty. But it seems it’s missing in the C export.

I added it to our bug tracker, and it will be fixed in the next release.

As a workaround I suggest doing this instead:

lv_dropdown_set_text(ui_Dropdown1, NULL);