mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #1546] Autocorrect and Autocapitalize enabled for wifi "Password" field on WiFi setup page #1320
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1320
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pomplesiegel on GitHub (Jan 11, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1546
Currently a browser will try to autocorrect the value a user enters for the wifi password, because of HTML settings. This is because there are no fields
autocorrect="off"andautocapitalize="none"for passwords.Current HTML for password field:
<input id="p" name="p" maxlength="64" type="password" placeholder="">In contrast, the SSID field has both of these in place correctly:
<input id="s" name="s" maxlength="32" autocorrect="off" autocapitalize="none" placeholder="">Is there an easy way to add this into the password's HTML using the current API? I imagine
autocorrect="off"andautocapitalize="none"should always be in place, since passwords are often not proper english words.Thank you,
Michael
@tablatronix commented on GitHub (Jan 13, 2023):
shouldn't this be the default for browsers on input type=password?
@pomplesiegel commented on GitHub (Jan 13, 2023):
Interesting! For whatever reason at least through the "safari" browser on Mac OS desktop it still attempted to create multiple capitalized words out of my password input. Are you seeing a different behavior on your browser?
@tablatronix commented on GitHub (Jan 13, 2023):
I can check, but we can add that just to be sure I guess, it just takes memory