Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix(ngOptions): throw if ngModel is not present #12840

Closed
wants to merge 1 commit into from

Conversation

Narretz
Copy link
Contributor

@Narretz Narretz commented Sep 14, 2015

BREAKING CHANGE:
ngOptions will now throw if ngModel is not present on the select
element. Previously, having no ngModel let ngOptions silently
fail, which could lead to hard to debug errors. The change should
therefore not affect any applications, as it simply makes the
requirement more strict and alerts the developer explicitly.

@Narretz Narretz added this to the 1.5.x - migration-facilitation milestone Sep 14, 2015
Closes angular#7047
Closes angular#12840

BREAKING CHANGE:
`ngOptions` will now throw if `ngModel` is not present on the `select`
element. Previously, having no `ngModel` let `ngOptions` silently
fail, which could lead to hard to debug errors. The change should
therefore not affect any applications, as it simply makes the
requirement more strict and alerts the developer explicitly.
@petebacondarwin
Copy link
Contributor

LGTM. Please merge.

@Narretz Narretz closed this in ded2518 Sep 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants