mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-20 22:34:37 -04:00
Disable autocorrect and autocaptialisation when entering username for SSO registration. (#13350)
When registering a new account via SSO on iOS, the text field becomes pretty annoying as it autocapitalises and autocorrects your input. This PR fixes that (although I have only tested the raw HTML file on the simulator, I'm not sure how to get the complete setup available for testing in the flow).
This commit is contained in:
parent
935e73efed
commit
549c55606a
2 changed files with 2 additions and 1 deletions
1
changelog.d/13350.bugfix
Normal file
1
changelog.d/13350.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Disable autocorrection and autocapitalisation on the username text field shown during registration when using SSO.
|
|
@ -138,7 +138,7 @@
|
||||||
<div class="username_input" id="username_input">
|
<div class="username_input" id="username_input">
|
||||||
<label for="field-username">Username (required)</label>
|
<label for="field-username">Username (required)</label>
|
||||||
<div class="prefix">@</div>
|
<div class="prefix">@</div>
|
||||||
<input type="text" name="username" id="field-username" value="{{ user_attributes.localpart }}" autofocus>
|
<input type="text" name="username" id="field-username" value="{{ user_attributes.localpart }}" autofocus autocorrect="off" autocapitalize="none">
|
||||||
<div class="postfix">:{{ server_name }}</div>
|
<div class="postfix">:{{ server_name }}</div>
|
||||||
</div>
|
</div>
|
||||||
<output for="username_input" id="field-username-output"></output>
|
<output for="username_input" id="field-username-output"></output>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue