Cannot reliably restore an input-time-zone's value
#9291
Labels
0 - new
New issues that need assignment.
ArcGIS Field Apps
Issues logged by ArcGIS Field Apps 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.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
needs milestone
Planning workflow - pending milestone assignment, has priority and/or estimate.
p - low
Issue is non core or affecting less that 10% of people using the library
Check existing issues
Actual Behavior
It is not possible to always restore the same value to the
input-time-zone
component that the user set on it during the previous edit session.For example, if the user previously selected the
"(GMT-6) Easter and Galapagos"
option, the next edit session shows the"(GMT-6) Bahia de Banderas, Cambridge Bay, Costa Rica, El Salvador, Managua, Monterrey, and Tegucigalpa"
option as selected.Expected Behavior
The
input-time-zone
options have unique values that can be used to accurately restore the user's prior selection.Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/GRaRWbX
Reproduction Steps
"(GMT-6) Easter and Galapagos"
option from the firstinput-time-zone
input-time-zone
updates with"(GMT-6) Bahia de Banderas, Cambridge Bay, Costa Rica, El Salvador, Managua, Monterrey, and Tegucigalpa"
option instead of the option from step 2.Reproduction Version
2.8.0
Relevant Info
No response
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
There is admittedly little impact here since the ArcGIS backend stores offsets instead of time zones. However, for consumers who do store time zone information, the
input-time-zone
component becomes the primary limiting factor.The repro. is contrived but a more real-world scenario is using a form to edit previously stored time-zone data.
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: