You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
There is an issue with selecting an item in ng-select when the options are ordered alphabetically. This issue only occurs if you select the item by typing. In the example below, if you focus on the text box then tab into the select, pressing 's' correctly selects Satchel, press 's' again and the selected option stays as satchel. If you keep pressing s, it works correctly. This appears to only happen on the second input change (ie. Satchel to Skid the first time).
The UI correctly changes the selected item type but it doesnt update in the scope. In the example I have added a ngChange that writes the selected item to the console. This method does not get hit when changing from satchel to skid for the first time.
<input ng-model="test"/>
<select data-ng-model="selectedItemType" data-ng-options="val.name for val in itemTypes" ng-change="itemTypeChanged()"></select>
There is an issue with selecting an item in ng-select when the options are ordered alphabetically. This issue only occurs if you select the item by typing. In the example below, if you focus on the text box then tab into the select, pressing 's' correctly selects Satchel, press 's' again and the selected option stays as satchel. If you keep pressing s, it works correctly. This appears to only happen on the second input change (ie. Satchel to Skid the first time).
The UI correctly changes the selected item type but it doesnt update in the scope. In the example I have added a ngChange that writes the selected item to the console. This method does not get hit when changing from satchel to skid for the first time.
The text was updated successfully, but these errors were encountered: