tzapu/WiFiManager

No need to display static IP fields on WIFI connection page -Help

Opened this issue · 6 comments

Hello, I am trying to hide as many fields and options as I can for the end user. When the user clicks and enters their wifi credentials, I don't want the other IP address fields underneath to display.
Any way to hide them?

Thats the default, there is a showipfields setting

Thats the default, there is a showipfields setting

wifiManager.setShowStaticFields(false);

Should this be false?

Are you doing something with static ip in your code that would cause them to show? Cause then yes, what do the examples do?

Are you doing something with static ip in your code that would cause them to show? Cause then yes, what do the examples do?

My code calls for a static IP to be set could this be why ?

Yeah if you use static in code it automatically shows in web.

you can add that setShowStaticFields(boolean alwaysShow); as falss