mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1104] Q: Is it possible to have a dropdown menu in config portal? #945
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#945
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 @noelvissers on GitHub (Aug 2, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1104
Basic Infos
Hardware
WiFimanager Branch/Release:
Esp8266/Esp32:
Description
Since it is possible to have custom parameters in the config portal, I was wondering if there's a way to have them set as dropdown menu, so i can't get an invalid input. Example: I want to have the user select a true or false setting and not let them fill in some random word.
If this is possible, is there any example or documentation of it? Would be nice to include it in the custom parameters example since it uses 3x the same method now.
***Edit:
It seems like it is possible after some google searches. Since there are three examples, it would be nice to have 1 normal one, 1 checkbox (and or radio buttons) and 1 dropdown menu. I know custom html is an option in these parameters, but I'm a total noob with html, especially integrating it with c++ (and I think im not the only one).
I also found this issue, which is basically the same question: https://github.com/tzapu/WiFiManager/issues/805, but its from a year ago and still open.
@saulhdzga commented on GitHub (Jun 13, 2021):
Did you solve it? I need this exact thing and so far i can create the drop down with custom html but have not found a way to access the values
@tablatronix commented on GitHub (Jun 13, 2021):
#1158
It is possible, but you would have to handle it mostly outside of wm, I was looking into how to add the ability for wm to wrap the arguments for you via params, but nothing so far has been done, i have a test somewhere I will look at where i left off.
@FLYINGSC0T commented on GitHub (May 28, 2022):
I was also looking for a solution to add dropdown to WiFiManager.
You might find these two links useful:
https://github.com/witnessmenow/ESP32-WiFi-Manager-Examples
https://www.youtube.com/watch?v=Errh7LEEug0
As yet I haven't tried it but hope it might help.
@tablatronix commented on GitHub (May 28, 2022):
#1365