GUACAMOLE-742: Provide "disabled" attribute for forms and fields.

This commit is contained in:
Michael Jumper
2019-04-27 16:52:37 -07:00
parent fbcb04e670
commit 59fdc80e9f
14 changed files with 36 additions and 9 deletions

View File

@@ -2,12 +2,13 @@
<!-- Available time zone regions -->
<select class="time-zone-region"
ng-disabled="disabled"
ng-model="region"
ng-options="name for name in regions | orderBy: name"></select>
<!-- Time zones within selected region -->
<select class="time-zone"
ng-disabled="!region"
ng-disabled="disabled || !region"
ng-model="model"
ng-options="timeZone.value as timeZone.key for timeZone in timeZones[region] | toArray | orderBy: key"></select>