From a0e8d8aecf3c8b217c39b53e7a68526c29457a1c Mon Sep 17 00:00:00 2001 From: Arnout van Meer Date: Wed, 11 Jul 2018 14:09:34 +0100 Subject: [PATCH] Don't capitalise last name Making assumptions about names is always a risky situation, even having a separate first and last name field should be avoided wherever possible. In this specific case, applying auto-capitalisation to the first character of the last name field makes it impossible to correctly enter my (and many other) Dutch surname. Common initial parts of Dutch surnames are 'de', 'van', 'van der' and other combinations. These are always lowercase. Fun additional trivia: when it comes to sorting these names alphabetically you are supposed to ignore the prefix. In the case of my name you'd index it under 'M', not 'v'. --- awx/ui/client/src/users/users.form.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/awx/ui/client/src/users/users.form.js b/awx/ui/client/src/users/users.form.js index 0ffc63151b..0479eb91a2 100644 --- a/awx/ui/client/src/users/users.form.js +++ b/awx/ui/client/src/users/users.form.js @@ -36,8 +36,7 @@ export default ['i18n', function(i18n) { label: i18n._('Last Name'), type: 'text', ngDisabled: '!(user_obj.summary_fields.user_capabilities.edit || canAdd)', - required: true, - capitalize: true + required: true }, organization: { label: i18n._('Organization'),