Skip to content

[input-date-picker] valueAsDate not updating after auto correction #13718

@rpanichakit9541

Description

@rpanichakit9541

monday.com sync: #11023867685

Check existing issues

Which Component

N/A, Input Date Picker

Actual Behavior

When using calcite-input-date-picker in range mode with a max set. If I type in a value that is past the max the UI will auto correct the input to reflect the max, but if I listen to the calciteInputDatePickerChange event and check the event.target.valueAsDate the values are still the invalid values.

Expected Behavior

The valueAsDate property should be updated to reflect the auto corrected value that's within the min/max.

Reproduction Sample

https://codepen.io/rpanichakit/pen/myEWdaZ?editors=1001

Reproduction Steps

  1. Open the codepen
  2. type in 02/26/2026 in either the start or end date and click out
  3. See the value in the console does not match what shows in the input

Reproduction Version

5.0.0-next.68

Relevant Info

No response

Regression?

No response

Priority impact

impact - p3 - not time sensitive

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Online

Metadata

Metadata

Assignees

No one assigned

    Labels

    ArcGIS OnlineIssues logged by ArcGIS Online team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.c-input-date-pickerIssues that pertain to the calcite-input-date-picker componentcalcite-componentsIssues specific to the @esri/calcite-components package.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitiveneeds triagePlanning workflow - pending design/dev review.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions