Skip to content

Date picker shows wrong date when reopened after selection #11236

@rderooij

Description

@rderooij

There is a bug in the default ADF date picker component. When selecting a date, the text field updates correctly, but reopening the picker shows a different date than the one displayed in the text field.

This issue seems to be related to the changes introduced in #9304.

Steps to Reproduce

  • Select a node.
  • Open metadata card.
  • Locate a prop with d:date field.
  • Click on the date field → the date picker opens.
  • The date shown in the picker matches the textual date in the field.
  • In the picker, select a different date.
  • The picker closes, and the textual date in the field updates correctly.
  • Open the picker again.
  • The date shown in the picker does not match the textual date in the field.

Expected Behavior

When reopening the picker, the date highlighted in the picker should always match the textual date in the field.

Actual Behavior

The date picker highlights a different date than the one shown in the text field after it has been reopened.

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