From b99c6087eb6ec550f99b4039d0a042d8b08cea27 Mon Sep 17 00:00:00 2001 From: "tsmgeek@gmail.com" <> Date: Wed, 9 Aug 2017 22:42:51 +0100 Subject: add autocapitalize=none to prevent browsers from trying to cap the first letter of login email dialog --- web/app/view/dialog/Login.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/app/view') diff --git a/web/app/view/dialog/Login.js b/web/app/view/dialog/Login.js index e015519b..96b40379 100644 --- a/web/app/view/dialog/Login.js +++ b/web/app/view/dialog/Login.js @@ -69,11 +69,12 @@ Ext.define('Traccar.view.dialog.Login', { fieldLabel: Strings.userEmail, allowBlank: false, enableKeyEvents: true, + listeners: { specialKey: 'onSpecialKey', afterrender: 'onAfterRender' }, - inputAttrTpl: ['autocomplete="on"'] + inputAttrTpl: ['autocomplete="on" autocapitalize="none"'] }, { xtype: 'textfield', name: 'password', -- cgit v1.2.3