위쪽으로 위쪽으로 부 풀림을 열려고합니다. 나는 어떻게 되돌릴 수, 나는 바닥에 "드롭 다운"이 때문에open ui.boostrap typeahead dropdown up
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;
});
});
};
});
을 app.js
<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>
index.html을 : 여기
내 코드의 예입니다 열리는?
2 세이지만 문제가 해결되어 대단히 감사합니다. – Dillanm