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.

This commit is contained in:
m-khan-glyptodon
2019-06-18 12:18:30 -07:00
parent eb50c5c0e8
commit cfefd11e90
9 changed files with 10 additions and 6 deletions

View File

@@ -1 +1 @@
<input type="checkbox" ng-disabled="disabled" ng-model="typedValue" autocorrect="off" autocapitalize="off"/>
<input type="checkbox" ng-disabled="disabled" ng-model="typedValue" guac-focus="focused" autocorrect="off" autocapitalize="off"/>

View File

@@ -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"/>

View File

@@ -3,6 +3,7 @@
ng-disabled="disabled"
ng-model="model"
ng-hide="readOnly"
guac-focus="focused"
autocorrect="off"
autocapitalize="off"/>
<a href="mailto:{{model}}" ng-show="readOnly">{{model}}</a>

View File

@@ -1 +1 @@
<select ng-model="model" ng-options="language.key as language.value for language in languages | toArray | orderBy: key"></select>
<select guac-focus="focused" ng-model="model" ng-options="language.key as language.value for language in languages | toArray | orderBy: key"></select>

View File

@@ -1 +1 @@
<input type="number" ng-disabled="disabled" ng-model="typedValue" autocorrect="off" autocapitalize="off"/>
<input type="number" ng-disabled="disabled" ng-model="typedValue" guac-focus="focused" autocorrect="off" autocapitalize="off"/>

View File

@@ -1,2 +1,2 @@
<select ng-model="model" ng-disabled="disabled"
ng-options="option as getFieldOption(option) | translate for option in field.options | orderBy: value"></select>
<select ng-model="model" ng-disabled="disabled" guac-focus="focused"
ng-options="option as getFieldOption(option) | translate for option in field.options | orderBy: value"></select>

View File

@@ -1 +1 @@
<textarea ng-model="model" autocorrect="off" autocapitalize="off" ng-disabled="disabled"></textarea>
<textarea ng-model="model" guac-focus="focused" autocorrect="off" autocapitalize="off" ng-disabled="disabled"></textarea>

View File

@@ -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"

View File

@@ -3,6 +3,7 @@
<!-- Available time zone regions -->
<select class="time-zone-region"
ng-disabled="disabled"
guac-focus="focused"
ng-model="region"
ng-options="name for name in regions | orderBy: name"></select>