-
Notifications
You must be signed in to change notification settings - Fork 141
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
Installments component shows a translatable label above its fields #2737
Conversation
🦋 Changeset detectedLatest commit: 045bb62 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Change: +414 B (+0.04%) Total Size: 1.16 MB
ℹ️ View Unchanged
|
…take the form of a dropdown
…take the form of a radiogroup
…reaking Riverty & CtP unit tests
…Riverty's readonly deliveryAddress
…aria-label on the RadioGroup element
Quality Gate passedIssues Measures |
Summary
The Installments component was incorrectly set up.
It should always show a label with translatable text above it's radio button (or dropdown) elements.
In one case (dropdown) we were retrieving the label but not displaying it. In the other case (radio button group) we were never even creating the labelling element.
This PR fixes that
Tested scenarios
Manually tested that the label shows up in both cases.
Added new condition to existing unit test
All existing unit tests pass
Fixed issue: #2609