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

Commit 38f4cff

Browse files
committed
Fix the bug where the input for entering select items had its width as full container's width, making it go down to the next line, due to having the selected items being retrieved async. The fix simply triggers the update of input field width upon change in the selected item (triggered due to receipt of async selected item).
1 parent fc42fdf commit 38f4cff

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
@@ -264,6 +264,7 @@
264264
var data = ctrl.parserResult.source($scope);
265265
var filteredItems = data.filter(function(i) {return selectedItems.indexOf(i) < 0;});
266266
setItemsFn(filteredItems);
267+
ctrl.sizeSearchInput();
267268
});
268269
}
269270

0 commit comments

Comments
 (0)