angular icon indicating copy to clipboard operation
angular copied to clipboard

Angular 14 doesn't support.

Open bhooshan0x07 opened this issue 2 years ago • 2 comments

Hi I am trying to use this date and time picker in Angular 14 but it seems not [working,]

image

bhooshan0x07 avatar Oct 21 '22 13:10 bhooshan0x07

I am joining for the request to fix this and support angular 14.

edit.:

bhooshan0x07 do you happen to have anything dateFormat related set in any of the providers array?

    // {
    //   provide: MAT_DATE_FORMATS,
    //   useValue: {
    //     parse: {
    //       dateInput: 'L',
    //     },
    //     display: {
    //       dateInput: 'L',
    //       monthYearLabel: 'MMM.YYYY',
    //       dateA11yLabel: 'L',
    //       monthYearA11yLabel: 'MMMM.YYYY',
    //     },
    //   },
    // },

This is what i've commented out, and it solved that overlaying issue for me. I still need to figure it out what caused it. But reverting to the defaults sometimes fixes the issue.

Note.: I have CustomDateAdapter for monday to be the 1st day of the week since this is our default in Hungary, and also localization of the days.

image

exitlol avatar Nov 21 '22 11:11 exitlol

@matheo are there plans to support angular 15?

aldairguarupe avatar Nov 29 '22 15:11 aldairguarupe