Skip to content

[DatePicker] - fix #1619

@vladko-uxds

Description

@vladko-uxds

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

RangeDatePickerV2 isn’t working correctly, which can be captured even from within the docs.
https://design.livechat.com/?path=/story/components-datepicker-rangedatepickerv2--with-initial-dates

Steps To Reproduce

When the initialFromDate and initialToDate props are passed, the component resets to them after it is clicked after a date is selected.

Expected Behavior

When the initialFromDate and initialToDate props are passed, the component does not resets

Screenshots

No response

Design system package(s) version

examples:

Environment

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Selected for Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions