mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
dfb58c44a2
Previously, `registerOnChange` used `hasOwnProperty` to identify if the property is supported. However, this does not work as the `selectedOptions` property is an inherited property. This commit fixes this by verifying the property on the prototype instead. Closes #37433 PR Close #37620