How to change name of control?
addandaum opened this issue · comments
addandaum commented
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).
Line 990 in f08cd5c
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.