Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit e8a6e54

Browse files
committed
Merge pull request #189 from robinmitra/master
Fix the bug where the input field gets full parent width when selected item is async
2 parents 64dc9af + 0547aab commit e8a6e54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/select.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@
265265
var data = ctrl.parserResult.source($scope);
266266
var filteredItems = data.filter(function(i) {return selectedItems.indexOf(i) < 0;});
267267
setItemsFn(filteredItems);
268+
ctrl.sizeSearchInput();
268269
});
269270
}
270271

0 commit comments

Comments
 (0)