kekeh / angular-mydatepicker

Angular datepicker and date range picker :date:
https://kekeh.github.io/angular-mydatepicker/
MIT License
1 stars 11 forks source link

ariaLabelInputField is No Longer Found in IMyOptions #94

Closed beneccles closed 2 years ago

beneccles commented 2 years ago

I am updating a project to use angular-mydatepicker instead of mydatepicker, and I noticed that ariaLabelInputField is no longer found inside of the IMyOptions. Did anything supersede it? I have several datePickerConfigs that use it.

kekeh commented 2 years ago

Input box is your own code. You can add arialabel to it easily for example:

<input angular-mydatepicker [(ngModel)]="model" [options]="myDatePickerOptions" 
    #dp="angular-mydatepicker" aria-label="Date input field" />
import {IAngularMyDpOptions, IMyDateModel} from 'angular-mydatepicker';

export class MyApp {
    myDatePickerOptions: IAngularMyDpOptions = {
        // options here...
    }

    constructor() {}
}