From cfefd11e90ff8cba45c21eaef2e1dd61d9c46752 Mon Sep 17 00:00:00 2001 From: m-khan-glyptodon Date: Tue, 18 Jun 2019 12:18:30 -0700 Subject: [PATCH] GUACAMOLE-302: Additions made to every remaining field (every field except username and password) so that they can now be manually focussed using the custom guacFocus directive. --- .../src/main/webapp/app/form/templates/checkboxField.html | 2 +- guacamole/src/main/webapp/app/form/templates/dateField.html | 1 + guacamole/src/main/webapp/app/form/templates/emailField.html | 1 + .../src/main/webapp/app/form/templates/languageField.html | 2 +- guacamole/src/main/webapp/app/form/templates/numberField.html | 2 +- guacamole/src/main/webapp/app/form/templates/selectField.html | 4 ++-- .../src/main/webapp/app/form/templates/textAreaField.html | 2 +- guacamole/src/main/webapp/app/form/templates/timeField.html | 1 + .../src/main/webapp/app/form/templates/timeZoneField.html | 1 + 9 files changed, 10 insertions(+), 6 deletions(-) diff --git a/guacamole/src/main/webapp/app/form/templates/checkboxField.html b/guacamole/src/main/webapp/app/form/templates/checkboxField.html index b76368afe..252441b1f 100644 --- a/guacamole/src/main/webapp/app/form/templates/checkboxField.html +++ b/guacamole/src/main/webapp/app/form/templates/checkboxField.html @@ -1 +1 @@ - \ No newline at end of file + diff --git a/guacamole/src/main/webapp/app/form/templates/dateField.html b/guacamole/src/main/webapp/app/form/templates/dateField.html index b6af5463c..6fd38dab8 100644 --- a/guacamole/src/main/webapp/app/form/templates/dateField.html +++ b/guacamole/src/main/webapp/app/form/templates/dateField.html @@ -4,6 +4,7 @@ ng-model="typedValue" ng-model-options="modelOptions" guac-lenient-date + guac-focus="focused" placeholder="{{'FORM.FIELD_PLACEHOLDER_DATE' | translate}}" autocorrect="off" autocapitalize="off"/> diff --git a/guacamole/src/main/webapp/app/form/templates/emailField.html b/guacamole/src/main/webapp/app/form/templates/emailField.html index 0e4354e91..3eb31e751 100644 --- a/guacamole/src/main/webapp/app/form/templates/emailField.html +++ b/guacamole/src/main/webapp/app/form/templates/emailField.html @@ -3,6 +3,7 @@ ng-disabled="disabled" ng-model="model" ng-hide="readOnly" + guac-focus="focused" autocorrect="off" autocapitalize="off"/> {{model}} diff --git a/guacamole/src/main/webapp/app/form/templates/languageField.html b/guacamole/src/main/webapp/app/form/templates/languageField.html index 404f74e5e..5af4e75df 100644 --- a/guacamole/src/main/webapp/app/form/templates/languageField.html +++ b/guacamole/src/main/webapp/app/form/templates/languageField.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/guacamole/src/main/webapp/app/form/templates/numberField.html b/guacamole/src/main/webapp/app/form/templates/numberField.html index 007297365..9e4c28bfc 100644 --- a/guacamole/src/main/webapp/app/form/templates/numberField.html +++ b/guacamole/src/main/webapp/app/form/templates/numberField.html @@ -1 +1 @@ - \ No newline at end of file + diff --git a/guacamole/src/main/webapp/app/form/templates/selectField.html b/guacamole/src/main/webapp/app/form/templates/selectField.html index 2f2b9d5ee..f173d5486 100644 --- a/guacamole/src/main/webapp/app/form/templates/selectField.html +++ b/guacamole/src/main/webapp/app/form/templates/selectField.html @@ -1,2 +1,2 @@ - \ No newline at end of file + diff --git a/guacamole/src/main/webapp/app/form/templates/textAreaField.html b/guacamole/src/main/webapp/app/form/templates/textAreaField.html index e049df60d..6614bfb2d 100644 --- a/guacamole/src/main/webapp/app/form/templates/textAreaField.html +++ b/guacamole/src/main/webapp/app/form/templates/textAreaField.html @@ -1 +1 @@ - \ No newline at end of file + diff --git a/guacamole/src/main/webapp/app/form/templates/timeField.html b/guacamole/src/main/webapp/app/form/templates/timeField.html index d45f54c91..6f7201f35 100644 --- a/guacamole/src/main/webapp/app/form/templates/timeField.html +++ b/guacamole/src/main/webapp/app/form/templates/timeField.html @@ -3,6 +3,7 @@ ng-disabled="disabled" ng-model="typedValue" ng-model-options="modelOptions" + guac-focus="focused" guac-lenient-time placeholder="{{'FORM.FIELD_PLACEHOLDER_TIME' | translate}}" autocorrect="off" diff --git a/guacamole/src/main/webapp/app/form/templates/timeZoneField.html b/guacamole/src/main/webapp/app/form/templates/timeZoneField.html index 5a61d090f..c318a17fc 100644 --- a/guacamole/src/main/webapp/app/form/templates/timeZoneField.html +++ b/guacamole/src/main/webapp/app/form/templates/timeZoneField.html @@ -3,6 +3,7 @@