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

fix(select): prevent unknown option being added to select when bound … #11874

Closed
wants to merge 1 commit into from
Closed

Conversation

divercraig
Copy link
Contributor

…to null property

If a select directive was bound, using ng-model, to a property with a value of null this would
result in an unknown option being added to the select element with the value "? object:null ?".
This change prevents a null value from adding an unknown option meaning that the extra option is
not added as a child of the select element

Closes #11872

…to null property

If a select directive was bound, using ng-model, to a property with a value of null this would
result in an unknown option being added to the select element with the value "? object:null ?".
This change prevents a null value from adding an unknown option meaning that the extra option is
not added as a child of the select element

Closes #11872
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Select elements bound to a scope property with a value of null will add an extra option
2 participants