Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date selected in input-date-picker gets cleared for "bs", "it-CH" locales #9387

Open
2 of 8 tasks
annierm18 opened this issue May 21, 2024 · 2 comments
Open
2 of 8 tasks
Labels
0 - new New issues that need assignment. ArcGIS Enterprise Issues logged by ArcGIS Enterprise 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. i18n-l10n issues dealing with internationalization/localization impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive p - high Issue should be addressed in the current milestone, impacts component or core functionality

Comments

@annierm18
Copy link
Contributor

annierm18 commented May 21, 2024

Check existing issues

Actual Behavior

The selected date gets cleared (and is replaced by the placeholder) when the user clicks out of the component for the "bs", "it-CH" locales.

Expected Behavior

  • The selected date would remain, like it does for the "en" locale
  • Add test coverage for future support

Reproduction Sample

https://codepen.io/annierm18/pen/YzbqdXO?editors=100

Reproduction Steps

  1. Open input-date-picker in codepen
  2. Add the lang="bs" or "it-CH" tag
  3. Select a date from the calendar
  4. Click outside of the component

Reproduction Version

2.8.2

Relevant Info

There is a corresponding dev issue for this: https://devtopia.esri.com/WebGIS/arcgis-enterprise-manager/issues/1758. It says "The issue is reproducible on Chrome and Edge Chromium"

Regression?

No response

Priority impact

impact - p3 - not time sensitive

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-angular
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Enterprise

@annierm18 annierm18 added bug Bug reports for broken functionality. Issues should include a reproduction of the bug. 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. i18n-l10n issues dealing with internationalization/localization labels May 21, 2024
@github-actions github-actions bot added impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive ArcGIS Enterprise Issues logged by ArcGIS Enterprise team members labels May 21, 2024
@annierm18 annierm18 changed the title Date selected in input-date-picker gets cleared for "bs" bosnian locale Date selected in input-date-picker gets cleared for "bs", "it-CH", "mk" locales May 21, 2024
@annierm18 annierm18 changed the title Date selected in input-date-picker gets cleared for "bs", "it-CH", "mk" locales Date selected in input-date-picker gets cleared for "bs", "it-CH" locales May 21, 2024
@geospatialem geospatialem added the p - high Issue should be addressed in the current milestone, impacts component or core functionality label May 21, 2024
@geospatialem
Copy link
Member

Added the p - high label as suggested by @annierm18 and the i18n team.

@geospatialem geospatialem added estimate - 5 A few days of work, definitely requires updates to tests. and removed needs triage Planning workflow - pending design/dev review. labels May 21, 2024
@Akochure
Copy link

Thanks, @annierm18, for logging the issue. We have used the temporary fix based on Blake's comment - #4583 (comment). But need to fix this issue in the component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. ArcGIS Enterprise Issues logged by ArcGIS Enterprise 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. i18n-l10n issues dealing with internationalization/localization impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive p - high Issue should be addressed in the current milestone, impacts component or core functionality
Projects
None yet
Development

No branches or pull requests

3 participants