-
Notifications
You must be signed in to change notification settings - Fork 1.8k
minimum-input-length with refresh-delay causes problems #1898
Comments
Hi, |
So i think i have found the problem you are describing. Basicly the problem comes from this line Line 65 The $select.search value will be the old value and not the newValue. I think this should be the length of the newValue that needs to be compared to the minimumlength. Do you agree on this? Made a example plunker with this fix. Example fix |
Thank you for your support but the problem is still existent in your example. var refreshPromise = $scope.$select.search.length >= minimum-input-length ? $scope.$eval(refreshAttr) : false;
|
fix minimum-input-length with refresh-delay #1898
There is a bug using refresh-delay and minimum-input-length in combination.
I've created a plunker http://plnkr.co/edit/D1NQYP8qBfQuUskak7Ei
I expect the refresh function should not be called with search strings shorter minimum-input-length
The text was updated successfully, but these errors were encountered: