How to set "static text" on dropdown, with show_selected=false
?
#522
Unanswered
akloeckner
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The dropdown documentation says we can show a "static text" instead of the seleted option, if we set
show_selected=false
. This works. But it shows "Select" all the time. The LVGL documentation says, the static text can be set usinglv_dropdown_set_text(dropdown, "Text")
. I guess, that is what thetext
option of openHASP would use. But, if I tryp2b91.text=blah
, I getATTR: text is read-only
.So, how can I set the static text?
Beta Was this translation helpful? Give feedback.
All reactions