mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 02:53:27 +02:00
Added text-focus-select directive for text inputs so it selects automatically the text when clicked.
This commit is contained in:
@@ -14,7 +14,8 @@
|
||||
form
|
||||
.input-group
|
||||
input.form-control(type='text', placeholder='http://...', autocomplete='off', ng-model='textURL',
|
||||
typeahead='url for url in urlHistory | filter:$viewValue').form-control
|
||||
typeahead='url for url in urlHistory | filter:$viewValue', text-focus-select).form-control
|
||||
|
||||
.input-group-btn
|
||||
button(ng-click='openURL()', ng-disabled='!textURL', translate).btn.btn-primary-outline Open
|
||||
//button(type='button', ng-disabled='!hasHistory()').btn.btn-primary-outline.dropdown-toggle
|
||||
|
||||
Reference in New Issue
Block a user