Skip to content

DateInput errors on repeat inputs #7107

@ConnorGyde

Description

@ConnorGyde

Environment

Can be replicated using the example component found at https://blueprintjs.com/docs/#datetime2/date-input3. I'm using Firefox Developer Edition.

Steps to reproduce

  1. Pick a date in the date picker.
  2. In the text input, write an invalid date (can easily be done by deleting) and then write the original string again.
  3. Blur the input.

Actual behavior

No date is highlighted in the date picker. Upon blurring the input (clicking elsewhere on the page), the textbox displays 'Invalid date'.

Expected behavior

The date should still be highlighted in the date picker, and when blurring the input, the date should not display as invalid.

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