fix(color): text input field may not display correctly when value is erased (#6430)

This commit is contained in:
philmoz
2025-07-10 07:56:13 +10:00
committed by GitHub
parent 8dd2c5bbf7
commit 5cb5de6470
+1 -2
View File
@@ -156,8 +156,7 @@ void TextEdit::openEdit()
lv_obj_get_width(lvobj), lv_obj_get_height(lvobj)},
text, length);
edit->setChangeHandler([=]() {
std::string s(text, length);
setText(s);
update();
if (updateHandler) updateHandler();
lv_group_focus_obj(lvobj);
edit->hide();