-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Checkbox limitation in WiFiManager #5958
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
Comments
In https://github.com/kentaylor/WiFiManager/blob/master/WiFiManager.h WIFI_MANAGER_MAX_PARAMS is set to 10. |
@Jeroen88 Thanks. Do I have the prerogative to modify this value? Will it cause harm elsewhere? Funny that 11 of my checkboxes work, and teh 12th does not. I'm presuming that the MAX_PARAMS is zero based so that 10 really means 11. I'll play with that value tomorrow. Many thanks for pointing this out!!! |
I do not use this library, I just looked it up in the source code. So I do not know of any impact elsewhere but I expect no other impact. |
@Jeroen88. Closing. I did edit MAX_PARAMS from 10 to 20 since I have 20 total parameters. Thanks again for that. The result sorta helped: instead of the corruption of the 1 valid input checkbox and 3 fake ones, I'm now getting all my valid checkboxes, but the 3 fake stuffing parameters are still corrupted. Still don't know. |
You're welcome! Just a few wild guesses:
|
Basic Infos
Platform
Settings in IDE
Problem Description
In Access-Point mode my ESP12F hosts a LAN input page for user input (SSID, PW, text fields & checkboxes). Most of the checkboxes are displayed properly, but not all. The text input fields work perfectly. Using WiFiManager (K.Taylor) I'm trying to present 12 checkboxes for user browser input. The program tries to render 4 sets of 3 checkboxes and some other text input. The first 11 checkboxes work, but the 12th does not (image below). To remedy this I have inserted 3 additional fake checkboxes at the bottom and have had partial success (except for 12th). I did this fake stuffing as I found that when the program is modified to only show 9 checkboxes then the last 2 or 3 are similarly corrupted; only the last 2, 3, and now 4. The fake stuffing really junks up the browser display. @ Issue #3284 talks about a limitation of 32 items; I am well below this threshold. Any guidance would be welcomed.
Sketch Segments
NO Debug Messages - compiles fine.
Partial Browser Image
The text was updated successfully, but these errors were encountered: