Skip to content

DatePicker updates input value on year selection before day is selected (Non‑static mode) #385

Description

@AshwiniAmolPawar

Latest version

  • I have tested the latest version

Steps to reproduce

Steps:

  1. Open the DatePicker with an existing selected date (e.g., 15-Mar-2024).
  2. Switch to the year selection view.
  3. Select a different year (e.g., 2026).
  4. Observe the input field.

Mode: Non‑static (with input field)
Description
In the DatePicker with an input field (non‑static mode), when a date is already selected and displayed in the input, changing only the year from the year selection view automatically updates the input field with the new year, while retaining the previously selected month and day.
This occurs before the user explicitly selects a day for the newly chosen year.

Current behavior

The input field is immediately updated to 15-Mar-2026 after selecting the year.
The previous month and day are auto‑applied without explicit user confirmation.

Expected behavior

UX confirmation required. Please confirm whether:

  • The input value is expected to update based on partial selection (year only), or
  • The input value should remain unchanged until the user completes the date selection by choosing a day.
Screen.Recording.2026-05-12.at.6.03.16.PM.mov

Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpending assessmentHas not been looked at by a maintainer

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions