Skip to content

Conversation

@Who-is-PS
Copy link
Member

@Who-is-PS Who-is-PS commented Dec 11, 2025

Description

Add configurable datePlaceholder and timePlaceholder props to the date-range-picker component's i18nStrings, allowing developers to customize placeholder text for date and time inputs in absolute mode.

Related links, issue #, if available: n/a

AWSUI-61514

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Who-is-PS Who-is-PS changed the title fix: Localization of datepicker feat: Add datePlaceholder and timePlaceholder props to i18nStrings Dec 12, 2025

/**
* Placeholder text for date inputs in absolute mode.
* Should match the expected date format (e.g., "YYYY-MM-DD", "JJJJ-MM-TT" for German).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use "for example" instead of "e.g."

Copy link
Member

@gethinwebster gethinwebster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"feat:" commits end up in our release notes, so they should include the component name somewhere

@Who-is-PS Who-is-PS changed the title feat: Add datePlaceholder and timePlaceholder props to i18nStrings feat: Add datePlaceholder and timePlaceholder props to date-range-picker component's i18nStrings Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants