When I add first-day-of-week="0" or first-day-of-week="1" I get infinity loading on my page.
Here is the part of my HTML with datepicker:
<div flex="100">
<md-date-range auto-confirm="true"
first-day-of-week="0"
show-template="false"
one-panel="true"
placeholder="{{ 'stages.DATE' | translate }}"
format="stageCtrl.formatDate"
md-on-select="stageCtrl.updateDateFilter()">
</md-date-range>
</div>
And it works normally if I don't add this argument, like this code:
<div flex="100">
<md-date-range auto-confirm="true"
show-template="false"
one-panel="true"
placeholder="{{ 'stages.DATE' | translate }}"
format="stageCtrl.formatDate"
md-on-select="stageCtrl.updateDateFilter()">
</md-date-range>
</div>
And one more question how to switch on "Clear" button inside of Datepicker? And if there any event or ay I can get after I press "Clear" button to update my data on the page?
When I add first-day-of-week="0" or first-day-of-week="1" I get infinity loading on my page.
Here is the part of my HTML with datepicker:
And it works normally if I don't add this argument, like this code:
And one more question how to switch on "Clear" button inside of Datepicker? And if there any event or ay I can get after I press "Clear" button to update my data on the page?