Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMPORTANT - No events emitted when any date clicked #762

Open
tanmayrsm opened this issue May 6, 2022 · 0 comments
Open

IMPORTANT - No events emitted when any date clicked #762

tanmayrsm opened this issue May 6, 2022 · 0 comments

Comments

@tanmayrsm
Copy link

tanmayrsm commented May 6, 2022

As we have event for 'monthSelected', 'yearSelected', why not 'dateSelected'. I require it to fix 2 issues -

  1. using
    [pickerType]="'calendar'"
    [pickerMode]="'dialog'"
    , if I double-click on any date, dialog shuts and textbox behind still remains empty
  2. If I open same calendar, and just click 'SET', today's date is shown in textbox. And my today's date is disabled too. I need
    'dateSelected' event to keep 'SET' disabled, until a date is selected

Sharing forked copy of number 1 issue -
https://stackblitz.com/edit/owl-datetimepicker-21rhbq?file=src%2Fapp%2Fstand-alone%2Fstand-alone.component.html

I have also tried using (ngModelChange) but it does not gets triggered on any date-select

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant