Skip to content

startDate prop does not work if date picker is quarter #1133

Open
@kastetcs95

Description

@kastetcs95

Describe the bug
When date picker is quarter, model value is null (not set), so startDate prop does not work.

To Reproduce
Steps to reproduce the behavior:

  1. Set quarter type for date picker.
  2. Set startDate prop as new Date('2023-01-01').
  3. Model value should be null (not set).
  4. Open date picker via click to input.
  5. Observe calendar, it is opened to current date, not 2023 year.

Expected behavior
Calendar should be opened to startDate prop.

Desktop & mobile (please complete the following information):

  • Browser: Chrome
  • Library version: 10.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting triageThe issue is not reviewed by the maintainersbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions