Skip to content

minDate and maxDate triggering a change event #672

@ggrillone

Description

@ggrillone

I have change events to handle some logic whenever a datetimepicker value changes. Part of which is setting date constraints using the minDate and maxDate options. However, it seems that the minDate and maxDate options are triggering change events, thus causing an infinite loop and crashing the browser.

I tested by removing the minDate and maxDate code and the change event then only gets called once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions