This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Bug when using ngModel, $asyncValidators and SELECT elements. #8929
Closed
Description
Tested and reproduced with version: 1.3.0-rc.0
If you use the relatively new $asyncValidators feature with SELECT elements bound to an ngModel the SELECT options become unselectable.
Please see the following plunk:
http://plnkr.co/edit/wlBKH2
This seems to be because $asyncValidators
set the $modelValue
to undefined
while the async validators are running, but never set it back again to the actual value once all the async validators pass.