Skip to content

Pickers not selecting values when ngModelOption.updateOn is set on the input #186

@coryvb123

Description

@coryvb123

When I add ng-model-options="{ updateOn: 'blur' }" to the input element, the datepicker and timepicker stop updating the input and model, and stop closing themselves.

It appears that $viewChangeListeners is not being triggered anymore and therefore dateSelection() is not being called by ng-change.

https://plnkr.co/edit/XF2mduZsuNsaSC7Q1Vgs?p=preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions