s00500 / ESPUI

A simple web user interface library for ESP32 and ESP8266

Home Page:https://valencia.lbsfilm.at/midterm-presentation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to change name of control?

addandaum opened this issue · comments

I want to change name(label) of switch. But I can't find way, how to do it.
updateLabel() works correctly only with labels and buttons.
ESP.updateLabel() calls updateControlValue(id, value).

void ESPUIClass::updateLabel(uint16_t id, const String& value)

updateControlLabel is undocumented and doesn't work too.
Are there intended way to do it? If no, please, add.

upd: updateControlLabel works, but changes only apply on page refresh.