Skip to content

Bug - [Date picker] - [Date range picker demo is broken] #8730

@idryzhov

Description

@idryzhov

Describe the problem
Date range picker demo is broken.

How do you reproduce the problem?
There are two different errors I can reproduce, but I think they are related.

  1. Choose dates in both fields and you'll see the following error:
TypeError: null is not an object (evaluating 'e.split')
  1. Choose date in the first field and start entering text in the second. You'll see the following error:
TypeError: e.split is not a function. (In 'e.split("-")', 'e.split' is undefined)

Expected behavior
There should be no error.
The demo was definitely working at least on Jan 23 (the last time I checked it).

Is this issue blocking you?
I don't know a workaround.

Screenshots
I provided easy steps to reproduce the issue. If needed, I can provide screenshots/screenrecords.

What is your environment?

  • OS: macOS
  • Browser Safari
  • Version 16.3

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions