Input Time Zone - selection defaults to first option in list when selecting offset with multiple signatures #8272
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Online
Issues logged by ArcGIS Online team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 3
A day or two of work, likely requires updates to tests.
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Check existing issues
Actual Behavior
If you select a time zone that has multiple signatures with that offset, (e.g., GMT+10), the selected time zone will always fall back to the first option with that offset, even if it's not the one you've selected.
Expected Behavior
The selected time zone from the pick-list will be persisted in the time zone input.
Reproduction Sample
https://codepen.io/tmcneil/pen/JjxBQVL?editors=1000
Reproduction Steps
Reproduction Version
1.11.0
Relevant Info
I can reproduce this on the sample in the developer documentation and in Map Viewer's Editor panel when selecting a time zone.
It is important to note that this issue is only reproducible when initially selecting a time zone. If you select a time zone and it defaults to the first time zone with that offset, selecting the time zone again will correctly display the chosen time zone in the component.
Regression?
No response
Priority impact
p3 - want for upcoming milestone
Impact
This is impacting the editing capabilities when adding or updating features in Map Viewer via the Editor panel. The chosen timezone is not being initially selected, and requires you to select it again to persist the correct time zone.
Calcite package
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: