Skip to content

Infinity loading when I add first-day-of-week arg #56

Description

@SiriusED

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions