mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
Enclosing the entire field within the <label> results in problems when the field is large and when the field contains multiple interactive elements. Clicking within interactive elements of a complex field triggers the <label>, refocusing the first input element. If the field is large, the <label> will contain empty space which also refocuses the input field upon being clicked, despite appearing to be the background of the page.
11 lines
332 B
HTML
11 lines
332 B
HTML
<div class="time-field">
|
|
<input type="time"
|
|
ng-attr-id="{{ fieldId }}"
|
|
ng-model="typedValue"
|
|
ng-model-options="modelOptions"
|
|
guac-lenient-time
|
|
placeholder="{{'FORM.FIELD_PLACEHOLDER_TIME' | translate}}"
|
|
autocorrect="off"
|
|
autocapitalize="off"/>
|
|
</div>
|