[GH-ISSUE #623] DEV parameters do not work after startconfigportal #520

Closed
opened 2026-02-28 01:25:41 +03:00 by kerem · 2 comments
Owner

Originally created by @tablatronix on GitHub (Jun 17, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/623

For some reason parameters do not work if starting config portal out of scope of addparameters.
The params object seems to be missing data, or not referenced the same for some reason.

for example, value is corrupt, name is corrupt, label placement is null, and lenth is 1047 or whatever

I removed the parameter deconstuctor and it still does it. Not sure whats going on.

Originally created by @tablatronix on GitHub (Jun 17, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/623 For some reason parameters do not work if starting config portal out of scope of addparameters. The params object seems to be missing data, or not referenced the same for some reason. for example, value is corrupt, name is corrupt, label placement is null, and lenth is 1047 or whatever I removed the parameter deconstuctor and it still does it. Not sure whats going on.
kerem 2026-02-28 01:25:41 +03:00
Author
Owner

@tablatronix commented on GitHub (Jun 17, 2018):

oh duh, because the param object is out of scope, I really hate the way this works, should not use refs in addparameter.

<!-- gh-comment-id:397894119 --> @tablatronix commented on GitHub (Jun 17, 2018): oh duh, because the param object is out of scope, I really hate the way this works, should not use refs in addparameter.
Author
Owner

@tablatronix commented on GitHub (Jun 17, 2018):

using static or global WiFiManagerParameter for now, but then user has to clean up..

<!-- gh-comment-id:397894399 --> @tablatronix commented on GitHub (Jun 17, 2018): using static or global WiFiManagerParameter for now, but then user has to clean up..
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#520
No description provided.