Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a47cd2b

Browse files
committedMar 14, 2020
feat: remove suggestions loading indicator
1 parent 41476eb commit a47cd2b

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed
 

‎src/app/devices/devices.edit.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
<div class="form-group col-md-6 scrollable-dropdown-menu" ng-class="{'has-error': editDeviceForm.manufacturer.$touched && editDeviceForm.manufacturer.$invalid}">
1313
<label for="device-manufacturer">Manufacturer</label>
1414
<input id="device-manufacturer" type="text" class="form-control" ng-model="device.manufacturer" name="manufacturer"
15-
typeahead-loading="loadingLocations" uib-typeahead="manufacturer for manufacturer in getManufacturers($viewValue)" required="required">
16-
<i ng-show="loadingLocations" class="glyphicon glyphicon-refresh" ></i>
15+
uib-typeahead="manufacturer for manufacturer in getManufacturers($viewValue)" required="required">
1716
</div>
1817
</div>
1918
<div class="row">

‎src/app/devices/devices.list.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@
2020
<input id="type" type="text" class="form-control" ng-model="formSearch.criteria.type"
2121
uib-typeahead="type for type in types | filter:$viewValue" name="type" >
2222
</div>
23-
<div class="col-md-4 scrollable-dropdown-menu">
23+
<div class="form-group col-md-4 scrollable-dropdown-menu">
2424
<label for="manufacturer">Manufacturer</label>
2525
<input id="manufacturer" type="text" class="form-control" ng-model="formSearch.criteria.manufacturer" name="manufacturer"
26-
typeahead-loading="loadingLocations" uib-typeahead="manufacturer for manufacturer in getManufacturers($viewValue) | limitTo:15">
27-
28-
<i ng-show="loadingLocations" class="glyphicon glyphicon-refresh" ></i>
26+
uib-typeahead="manufacturer for manufacturer in getManufacturers($viewValue) | limitTo:15">
2927
</div>
3028
<div class="form-group col-md-4">
3129
<label for="model">Model</label>

‎src/app/devices/devices.new.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
<div class="form-group col-md-6 scrollable-dropdown-menu" ng-class="{'has-error': editDeviceForm.manufacturer.$touched && editDeviceForm.manufacturer.$invalid}">
1313
<label for="device-manufacturer">Manufacturer</label>
1414
<input id="device-manufacturer" type="text" class="form-control" ng-model="device.manufacturer" name="manufacturer"
15-
typeahead-loading="loadingLocations" uib-typeahead="manufacturer for manufacturer in getManufacturers($viewValue)" required="required">
16-
<i ng-show="loadingLocations" class="glyphicon glyphicon-refresh" ></i>
15+
uib-typeahead="manufacturer for manufacturer in getManufacturers($viewValue)" required="required">
1716
</div>
1817
</div>
1918
<div class="row">

0 commit comments

Comments
 (0)
Please sign in to comment.