mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #534] getValue() why not setValue() #446
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#446
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zafrirron on GitHub (Feb 20, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/534
Probably my misunderstanding...:
Currently from Docs and Examples, handling custom configs done by save config hadler definition and managing FS (json) writes by app developer responsibility.
Since I guess most cases when one uses addParameter method he intend to save it in config, so I would expect this to happen inside the manager by the manager (same like any other wifi params).
In case the app needs to update the config param, I would expect a setValue() method, that would update (and write to FS) the config param.
A derived case is the ability to create, set, update a config params by the app without displaying it in manager config page, so a flag should be available for this.....
@tablatronix commented on GitHub (Feb 20, 2018):
yeah i was wondering why no setter, but noticed no ones asked for one.
sounds good
@tablatronix commented on GitHub (Mar 6, 2018):
This is added to development branch, have you been able to test?
@radeonorama commented on GitHub (Sep 30, 2018):
Sorry to bring this one back up but is there an example usage for setValue()?
I want the config page to show the newly saved params and not the default ones and this looks like it might be exactly what i need
@zen85 commented on GitHub (May 14, 2020):
https://github.com/tzapu/WiFiManager/issues/1050
@tablatronix commented on GitHub (May 14, 2020):