Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change name of control? #242

Open
addandaum opened this issue Jul 21, 2023 · 0 comments
Open

How to change name of control? #242

addandaum opened this issue Jul 21, 2023 · 0 comments

Comments

@addandaum
Copy link

addandaum commented Jul 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant