-
Notifications
You must be signed in to change notification settings - Fork 72
[terra-time-input] Remove placeholder #1235
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these tests be updated to test accessibility now as well? https://github.com/cerner/terra-framework/blob/main/packages/terra-time-input/tests/wdio/time-input-twelve-hour-spec.js#L5
@@ -825,6 +831,9 @@ class TimeInput extends React.Component { | |||
/> | |||
</ButtonGroup> | |||
)} | |||
<div id={formatDescriptionId} className={cx('format-text')} aria-label={`Time Format: ${format}`}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Time Format:" should probably be translated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Raised jira for translations.
…erner/terra-framework into date-time-picker-demo
…om/cerner/terra-framework into date-time-picker-demo
…erner/terra-framework into date-time-picker-demo
Tested: PR #1235 Reviewed:
|
… remove-placeholder-from-time-input
Yes, updated the tests here df91b79 |
Summary
This PR
Removes placeholder from the input.
Adds format to be displayed under the time-input.
Edit: Removed themeable variable
--terra-time-input-meridiem-button-group-margin-bottom
Closes #1193
Deployment Link
https://terra-framew-remove-pla-jmtcda.herokuapp.com/components/terra-time-input/time-input/time-input
Testing
Additional Details
Time Input:

12-hour

time input:
Thank you for contributing to Terra.
@cerner/terra