Я пытаюсь открыть typeahead boostrap-ui угловой вверх.Открыть ui.boostrap typeahead updown
Вот мой пример кода:
index.html
<div class="dropup" ng-controller="TypeaheadCtrl">
<input type="text" ng-model="asyncSelected" placeholder="> Select issue" typeahead="address for address in getLocation($viewValue)" typeahead-loading="loadingLocations" class="form-control inline-edit-form">
<i ng-show="loadingLocations" class="glyphicon glyphicon-refresh"></i>
</div>
app.js
app.controller('TypeaheadCtrl', function($scope, $http) {
$scope.selected = undefined;
$scope.getLocation = function (val) {
return $http.get('http://maps.googleapis.com/maps/api/geocode/json', {
params: {
address: val,
sensor: false
}
}).then(function (response) {
return response.data.results.map(function (item) {
return item.formatted_address;
});
});
};
});
Потому что у меня есть "выпадающий" в нижней части, как я могу полностью изменить открытие?
2 года, но исправлена моя проблема, очень ценится! – Dillanm