I am currently utilizing the md-datepicker feature in my project. You can check out how it works here: https://material.angularjs.org/latest/demo/datepicker
However, I am facing an issue where I am unable to dynamically add a value to the aria-label attribute in the datepicker. It seems to only accept hardcoded values. To see this problem in action, you can try the demo provided in the following link: https://codepen.io/anon/pen/jveJGb
To address this issue, you can replace the js function in the codepen with the code snippet below:
function() {
this.myDate = new Date();
this.isOpen = false;
this.place = "Enter some date";
this.arialabel = "some label";
});
You can then substitute any one of the datepickers with the code snippet provided below:
<md-datepicker ng-model="ctrl.myDate" md-placeholder="{{ctrl.place}}" aria-label="{{ctrl.arialabel}}"></md-datepicker>
Upon checking, it appears that the aria-label value loads as empty. This is causing confusion and I'm seeking assistance to resolve this matter.