Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gpena208777 opened this issue Oct 26, 2024 · 6 comments
Open

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

gpena208777 opened this issue Oct 26, 2024 · 6 comments

Comments

@gpena208777
Copy link

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?

@tablatronix
Copy link
Collaborator

Thats the default, there is a showipfields setting

@gpena208777
Copy link
Author

Thats the default, there is a showipfields setting

wifiManager.setShowStaticFields(false);

Should this be false?

@gpena208777
Copy link
Author

Bump

@tablatronix
Copy link
Collaborator

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

@gpena208777
Copy link
Author

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 ?

@tablatronix
Copy link
Collaborator

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants