[GH-ISSUE #1771] No need to display static IP fields on WIFI connection page -Help #1496

Open
opened 2026-02-28 01:30:18 +03:00 by kerem · 6 comments
Owner

Originally created by @gpena208777 on GitHub (Oct 26, 2024).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1771

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?

Originally created by @gpena208777 on GitHub (Oct 26, 2024). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1771 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?
Author
Owner

@tablatronix commented on GitHub (Oct 26, 2024):

Thats the default, there is a showipfields setting

<!-- gh-comment-id:2439717422 --> @tablatronix commented on GitHub (Oct 26, 2024): Thats the default, there is a showipfields setting
Author
Owner

@gpena208777 commented on GitHub (Oct 26, 2024):

Thats the default, there is a showipfields setting

wifiManager.setShowStaticFields(false);

Should this be false?

<!-- gh-comment-id:2439736193 --> @gpena208777 commented on GitHub (Oct 26, 2024): > Thats the default, there is a showipfields setting wifiManager.setShowStaticFields(false); Should this be false?
Author
Owner

@gpena208777 commented on GitHub (Oct 30, 2024):

Bump

<!-- gh-comment-id:2448463802 --> @gpena208777 commented on GitHub (Oct 30, 2024): Bump
Author
Owner

@tablatronix commented on GitHub (Oct 31, 2024):

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

<!-- gh-comment-id:2449604642 --> @tablatronix commented on GitHub (Oct 31, 2024): Are you doing something with static ip in your code that would cause them to show? Cause then yes, what do the examples do?
Author
Owner

@gpena208777 commented on GitHub (Nov 3, 2024):

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 ?

<!-- gh-comment-id:2453505645 --> @gpena208777 commented on GitHub (Nov 3, 2024): > 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 ?
Author
Owner

@tablatronix commented on GitHub (Nov 3, 2024):

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

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

<!-- gh-comment-id:2453626589 --> @tablatronix commented on GitHub (Nov 3, 2024): Yeah if you use static in code it automatically shows in web. you can add that setShowStaticFields(boolean alwaysShow); as falss
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#1496
No description provided.