Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-form-select] Combobox custom placeholder remove #3953

Closed
wants to merge 6 commits into from

Conversation

ashishkumbhare116
Copy link
Contributor

@ashishkumbhare116 ashishkumbhare116 commented Oct 27, 2023

Summary

To ensure the Form - Select Combobox meets accessibility standards for 2.4.6 Heading and Labels we need to ensure the place holder text does not have the ability to have custom text. String for what should display as placeholder text in the Acceptance Criteria

What was changed:

  • The option to have custom placeholder text is removed
  • The string "-Select-" displays as the placeholder text.

Why it was changed:
Combobox shouldn't have the option for custom placeholder according to design doc

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

This PR resolves:

UXPLATFORM-9731


Thank you for contributing to Terra.
@cerner/terra

@ashishkumbhare116 ashishkumbhare116 changed the title Custom placeholder removed [terra-form-select] Combobox custom placeholder remove Oct 27, 2023
@ashishkumbhare116 ashishkumbhare116 marked this pull request as ready for review October 30, 2023 02:32
@ashishkumbhare116 ashishkumbhare116 requested a review from a team as a code owner October 30, 2023 02:32
@KV106606Viswanath KV106606Viswanath self-assigned this Oct 31, 2023
Comment on lines 5 to 6
*Fixed
*Fixed the `combobox` won't take custom placeholder text and only string `-Select- ` will be shown.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
*Fixed
*Fixed the `combobox` won't take custom placeholder text and only string `-Select- ` will be shown.
* Changed
* Removed support for custom placeholder on the `combobox`

Copy link
Contributor

Choose a reason for hiding this comment

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

Updated with title "Breaking change" as per below comment,

/**
* Placeholder text.
*/
placeholder: PropTypes.string,
Copy link
Contributor

Choose a reason for hiding this comment

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

this is breaking change !! we need to update the upgrade guide and change log entry with title Breaking Change

Copy link
Contributor

Choose a reason for hiding this comment

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

Updated

@supreethmr
Copy link
Contributor

This pull request is closed for the reasons stated in Jira:UXPLATFORM-9731

@supreethmr supreethmr closed this Nov 9, 2023
@supreethmr supreethmr deleted the combobox_placeholder branch November 9, 2023 07:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants