fingerpich / jalali-angular-datepicker

Highly configurable jalali (shamsi, khorshidi, persian) date picker built for Angular ( 2 or more ) applications
https://fingerpich.github.io/jalali-angular-datepicker/
MIT License
152 stars 60 forks source link

After selecting the date, it will not close #116

Closed archive-me closed 3 years ago

archive-me commented 4 years ago

After selecting the date, it will not close?!?!?! Why?

mm580486 commented 4 years ago

Usually this shouldn't happen, can u share your code in stackblitz

Kianoush-Dortaj commented 4 years ago

i have this problem too . this occure when i need to use angular material input .

this is config : datePickerConfigFa_Down: { // drops: 'down', format: 'YYYY/MM/DD', showTwentyFourHours: 'enabled', closeOnSelect: true, showMultipleYearsNavigation: 'enabled', locale: 'fa', drops: 'down', },

and this is Html Code :

`

{{'MAGAZINE_SHARE.CREATE_REGISTER_TO' | translate}}
                    <input formControlName="endDate" theme="dp-material"
                     matInput mode="day" [dpDayPicker]="datePickerConfigEnd" />
                    <mat-datepicker-toggle matSuffix></mat-datepicker-toggle>
                </mat-form-field>`

but when i select the date it not closed .

fingerpich commented 3 years ago

Fixed in /pull/115