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

fix(datepicker): updateOn not working with non-bubbling events #9632

Merged
merged 1 commit into from
Sep 23, 2016

Conversation

crisbeto
Copy link
Member

Fixes the datepicker not supporting certain events inside ngModelOptions.updateOn. These are usually events that don't bubble (e.g. blur) and should be bound to the input, however since the ng-model-options are on the root element, Angular binds it's handlers to it.

Fixes #9577.

Fixes the datepicker not supporting certain events inside `ngModelOptions.updateOn`. These are usually events that don't bubble (e.g. `blur`) and should be bound to the input, however since the `ng-model-options` are on the root element, Angular binds it's handlers to it.

Fixes angular#9577.
@crisbeto crisbeto added the needs: review This PR is waiting on review from the team label Sep 17, 2016
@ThomasBurleson ThomasBurleson added needs: presubmit and removed needs: review This PR is waiting on review from the team labels Sep 21, 2016
@ThomasBurleson ThomasBurleson added this to the 1.1.2 milestone Sep 21, 2016
@kara kara added pr: merge ready This PR is ready for a caretaker to review and removed needs: presubmit labels Sep 23, 2016
@kara kara merged commit b5c412c into angular:master Sep 23, 2016
Frank3K pushed a commit to Frank3K/material that referenced this pull request Oct 8, 2016
…ar#9632)

Fixes the datepicker not supporting certain events inside `ngModelOptions.updateOn`. These are usually events that don't bubble (e.g. `blur`) and should be bound to the input, however since the `ng-model-options` are on the root element, Angular binds it's handlers to it.

Fixes angular#9577.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants