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

Autocapitalization of username field #1627

Merged
merged 2 commits into from
Sep 3, 2018
Merged

Autocapitalization of username field #1627

merged 2 commits into from
Sep 3, 2018

Conversation

timmo001
Copy link
Contributor

@timmo001 timmo001 commented Sep 2, 2018

Description

Sets autocapitalize for username and name fields. This makes sure the username is always lowercase when logging in or creating accounts with mobile devices.

Related issue this fixes

#1626

@ghost ghost added the in progress label Sep 2, 2018
@timmo001 timmo001 changed the title Capitalization of username field Autocapitalization of username field Sep 2, 2018
@@ -42,6 +42,7 @@ class HaOnboarding extends localizeLiteMixin(PolymerElement) {
value='{{_name}}'
required
auto-validate
autocapitalize='words'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should use on/sentences here instead. There is an ongoing issue since iOS 8 with words that causes the first 2 letters to be capitalized instead of every word (I've confirmed this is still an issue in 11.4). That is much more annoying IMO than having to manually capitalize extra words

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really..? Since the names I use are one word anyway I'm OK with this

@balloob balloob merged commit cdab874 into home-assistant:master Sep 3, 2018
@ghost ghost removed the in progress label Sep 3, 2018
@timmo001 timmo001 deleted the auto-capitalization branch September 3, 2018 11:19
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants