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

dialog mode, only calendar issues #157

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

dialog mode, only calendar issues #157

tanmayrsm opened this issue May 9, 2022 · 0 comments

Comments

@tanmayrsm
Copy link

tanmayrsm commented May 9, 2022

If we use date-time picker with below conf -

<owl-date-time [pickerType]="'calendar'"
[pickerMode]="'dialog'" ...>

I'm facing 2 issues using above configurations -

  1. Double click on any 'date', closes the dialog. And input-text remains empty. In other modes (time and calendar combined), dialog doesn't closes on double-click on any date
    image
    (double click on any date here, dialog closes and textbox stays empty behind)

  2. If I open dialog, and directly click 'SET', current date is selected and shown in input-textbox. Problem is, if the current date has also been disabled, still it's shown in textbox behind after 'SET' clicked, adding on there's no way to keep 'SET' disabled until a 'date' is been clicked.
    image
    (dont' select any date, and click 'SET' directly, even though today's date - 09/05/2022 is disabled)

image
(still, it's shown in textbox)

I'm facing above issues even using latest versions, i.e. - @danielmoncada/angular-datetime-picker @13.1.1 in angular 12 - stackblitz,
also tried @danielmoncada/angular-datetime-picker @14.0.1 angular 13 - stackblitz.

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