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

Add "autoupdate value" option for input controls #274

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

telesyst
Copy link

There is included changes for #270

Usage Notes:

The CMakeLists.txt file is used in the case of using the library as an ESP-IDF component.

If it is necessary for the user input controls to update their values upon user input, then include ESPUI.auto_update_values = true; before calling ESPUI.addControl().
This option can also be activated for an already created control by changing Control.auto_update_value

@MartinMueller2003
Copy link
Collaborator

I am a bit confused about the problem being solved here. The system already auto updates all UIs when a change on any open UI is made. Are you trying to disable this? If so, there is a better chokepoint in the change distribution code.

I would prefer to have changes like the debug macro made in a seperate PR. It helps keep things simpler.

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

Successfully merging this pull request may close these issues.

None yet

2 participants