Skip to content

about clear button bug fix for v5.39.0 #368

@mbdmt

Description

@mbdmt

v5.39.0
My own situation,
After clicking the clear button, today’s date cannot be selected.
This is my own modification, please tell me if there is a problem with this modification

line 673:
this.input.val("" + (this.unset ? '' : this._dates[index].format(this.actualFormat)));

fix :
this.input.val("" + (this.unset ? '' : this.getMoment().format(this.actualFormat)));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions