Commit 030d260d authored by jeromecambon's avatar jeromecambon Committed by benjaminParisel

Added autofocus to input elements of modal popup windows. (#2719)

See [UID-86](https://bonitasoft.atlassian.net/browse/UID-86)
parent c3a69b51
......@@ -11,7 +11,8 @@
class="form-control"
id="widget-name"
placeholder="Widget Name"
required>
required
autofocus>
</div>
</div>
<div class="modal-footer" id="modal-delete-widget-controls">
......
......@@ -12,7 +12,8 @@
class="form-control"
id="page-name"
placeholder="{{ 'Page Name' | translate }}"
required>
required
autofocus>
</div>
<div class="form-group" ng-if="ctrl.type.key === 'page' || ctrl.type.key === 'form'">
<label class="control-label" for="type" tranlate>Type</label>
......
......@@ -13,6 +13,7 @@
class="form-control Search-input"
placeholder="{{ 'Select a widget or start typing' | translate}}"
autocomplete=off
autofocus
/>
<button type="button" ng-if="ctrl.isClearButtonVisible()"
tabindex="-1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment