Skip to content

GoToCurrent should emit event #328

Closed
@SaraOunissi

Description

@SaraOunissi

Hi everybody,

I'm using ng2-date-picker and I observed that the button goToCurrent only put the focus on the current month. However, when goToCurrent is clicked I need the date and time to be set to now (select current date and set the time to now).

I started to look at the component to see how it is possible to resolve this issue. There is no accessible event fired when the button is clicked. I looked at the function moveToCurrent() of the component but it's not firing anything neigher. I'm starting to see if I should desable the goToCurrent button, and add my own button today.

Did anyone meet the same issue?! Do you have any idea of how I could handle it?!

Thank you for your help

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions