Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
287 stars 76 forks source link

input-date-picker: Emits `change` event when `valueAsDate` is set programmatically when `range` enabled. #8368

Closed anveshmekala closed 1 month ago

anveshmekala commented 10 months ago

Check existing issues

Actual Behavior

calciteInputDatePickerChange event is emitted when the user sets valueAsDate programmatically in range calcite-input-date-picker

Expected Behavior

calciteInputDatePickerChange event shouldn't be emitted when valueAsDate is set programmatically.

Reproduction Sample

https://codepen.io/ANVESHMEKALA/pen/ZEwwqNa

Reproduction Steps

  1. Open the console in CodePen.
  2. Observe that change event is emitted

Reproduction Version

1.11.0

Relevant Info

No response

Regression?

No response

Priority impact

p4 - not time sensitive

Impact

No response

Calcite package

Esri team

N/A

github-actions[bot] commented 1 month ago

Installed and assigned for verification.

DitwanP commented 1 month ago

🍡 Verified on 2.13.0-next.7

No longer seeing event logged to console https://codepen.io/Ditwan-Price/pen/PorLGog?editors=1111