Dropdown option "Show Selected" generates wrong code

What do you want to achieve?

A dropdown box should display it’s selected value when the “Show selected” option is checked.

What have you tried so far?

Selecting the “Show selected” on the dropdown box and exporting the code.

Screenshot or video


  • SquareLine Studio version: 1.0.5
  • Operating system: Windows
  • Target hardware: ESP32

The code that is being exported is:
lv_dropdown_set_text(ui_dropdownBox, “”);

The code that should be exported is:
lv_dropdown_set_text(ui_dropdownBox, NULL);

If I manually change “” to NULL the behavior is correct on my board.

Thanks, we are working on it!