calcite-input-date-picker: throws two change events for valueAsDate #7218
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Map Viewer
Issues logged by ArcGIS Map Viewer team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
estimate - 5
A few days of work, definitely requires updates to tests.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
low risk
Issues with low risk for consideration in low risk milestones
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Actual Behavior
If you set the date via
valueAsDate
theinput-date-picker
component throws 2calciteInputDatePickerChange
events. This is not happening when using thevalue
prop.Expected Behavior
It should only throw one event if you change the date value once. Both for
value
andvalueAsDate
.Reproduction Sample
https://codepen.io/afreitag/pen/yLPOpVY
Reproduction Steps
Open codepen and change the date once of each of the input-date-pickers. You can see that the second version throws 2 events initially.
Reproduction Version
1.4.2
Relevant Info
No response
Regression?
no
Priority impact
p2 - want for current milestone
Impact
No response
Esri team
ArcGIS Map Viewer
The text was updated successfully, but these errors were encountered: