[GH-ISSUE #1104] Q: Is it possible to have a dropdown menu in config portal? #945

Closed
opened 2026-02-28 01:27:47 +03:00 by kerem · 4 comments
Owner

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:

  • Master
  • Development

Esp8266/Esp32:

  • 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.

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:** - [ ] Master - [x] Development **Esp8266/Esp32:** - [ ] ESP8266 - [x] 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.
kerem 2026-02-28 01:27:47 +03:00
Author
Owner

@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

<!-- gh-comment-id:860186128 --> @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
Author
Owner

@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.

<!-- gh-comment-id:860223017 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:1140277983 --> @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.
Author
Owner

@tablatronix commented on GitHub (May 28, 2022):

#1365

<!-- gh-comment-id:1140344397 --> @tablatronix commented on GitHub (May 28, 2022): #1365
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#945
No description provided.