8000 Issue with ng-blur directive · Issue #185 · alenaksu/mdPickers · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 12, 2018. It is now read-only.
This repository was archived by the owner on May 12, 2018. It is now read-only.
Issue with ng-blur directive #185
Open
@klapouchy90

Description

@klapouchy90

Using ng-change with the picker works as expected, i.e. the function gets called each time when the value changes:
<mdp-date-picker ng-model="..." ng-change="someFunction()"></mdp-date-picker>

Although, this event may get called a lot of times, especially when user will start using the arrows, mouse scroll etc. to change the value. So if upon that change I need to make a server request to check something, I used to use ng-blur event, i.e. to do it after the element loses focus:
<mdp-date-picker ng-model="..." ng-blur="someFunction()"></mdp-date-picker>

Unfortunately, the function defined in ng-blur directive gets never called.

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

      0