0

When I click on the datepicker calender, it opens on the current date (or year or decade). Like in this example the calender is opened in the current Decade 2020->2029:

What i want is whenever i open the calender, i want it to start at a specific Decade like 1980->1990.

Here is the datepicker element:

<ejs-datepicker start='Decade' strictMode='true' [max]="today" [placeholder]="birthdayPlaceholder"
                    format="dd/MM/yyyy" [required]="citoyenForm.isDateNaissanceRequired" formControlName="dateNaissance"
                    [class.error-input]="signUpForm.controls['dateNaissance'].touched && signUpForm.controls['dateNaissance'].errors?.required"
                    floatLabelType='Auto'>
                  </ejs-datepicker>

4

0 回答 0