Input Time Zone: can't retrieve appropriate offset value or message after deselecting dropdown option #7530
Closed
2 of 3 tasks
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 - 2
Small fix or update, may require 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
Deselecting the currently selected time zone from the
calcite-input-time-zone
dropdown causes anoffsetValue
error in Dev Tools Console and an inability to retrieve the offset value.Expected Behavior
When no time zone is selected,
offsetValue
should have some appropriate value or string indicating as such so that we can appropriately handle setting time zones.Reproduction Sample
https://codepen.io/iyouth66/pen/PoXYZJG
Reproduction Steps
1.) Open Codepen > Open the
calcite-input-time-zone
dropdown2.) Deselect the currently selected time zone
3.) Open Dev Tools > Console
4.) An
offsetValue
error is displayedReproduction Version
1.5
Relevant Info
cc @jcfranco
Regression?
N/A
Priority impact
p3 - want for upcoming milestone
Impact
We need the
offsetValue
when setting time zones in Map Viewer (or eventually the corresponding representative IANA string - see #7430). When all options are deselected, this needs to be indicated somehow as well.Calcite package
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: