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
Describe the bug
Our project uses the Angular reactive forms approach with the update strategy set to updateOn: 'blur'.
The current value of ng-select needs to be evaluated on blur.
To do this, we access the value via the FormControl bound to ng-select in the template.
When using a mouse to change the value of ng-select, the value of the FormControl gets updated correctly.
When using tab to focus ng-select and afterwards typing letters to change the value, the value of the FormControl does not get updated.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions 🎆
Describe the bug
Our project uses the Angular reactive forms approach with the update strategy set to updateOn: 'blur'.
The current value of ng-select needs to be evaluated on blur.
To do this, we access the value via the FormControl bound to ng-select in the template.
When using a mouse to change the value of ng-select, the value of the FormControl gets updated correctly.
When using tab to focus ng-select and afterwards typing letters to change the value, the value of the FormControl does not get updated.
Reproducible example
Stackblitz
To Reproduce
When changing value and leaving ng-select using mouse inputs, the output will show the selected value.
Expected behavior
Interacting with tab should produce the same result as interacting with the mouse.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: