mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-14 15:11:32 +10:00
Also show static IP fields when static IP is passed
Regardless of the boolean, we should always show static IP fields if actual static IP value is passed. This ensures backwards compatibility
This commit is contained in:
+1
-1
@@ -500,7 +500,7 @@ void WiFiManager::handleWifi(boolean scan) {
|
||||
page += "<br/>";
|
||||
}
|
||||
|
||||
if (_sta_show_static_fields) {
|
||||
if (_sta_show_static_fields || _sta_static_ip) {
|
||||
|
||||
String item = FPSTR(HTTP_FORM_PARAM);
|
||||
item.replace("{i}", "ip");
|
||||
|
||||
Reference in New Issue
Block a user