-
Notifications
You must be signed in to change notification settings - Fork 84
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
fix(radio-button): incorrect spacing on fieldHelp with validationRedesignOptIn flag #7122
Conversation
@@ -26,9 +26,9 @@ export interface RadioButtonProps | |||
onClick?: (ev: React.MouseEvent<HTMLInputElement>) => void; | |||
/** the value of the Radio Button, passed on form submit */ | |||
value: string; | |||
/** Overrides the default tooltip position */ | |||
/** [Legacy] Overrides the default tooltip position */ |
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.
suggestion: if you're updating these prop descriptions, it may be worth updating the remaining prop descriptions for helpAriaLabel
and tooltipPosition
which do not include a legacy description
@@ -53,9 +53,9 @@ For more information check our [Validations](../?path=/docs/documentation-valida | |||
|
|||
#### New designs validation | |||
|
|||
The folowing examples use the new validation pattern that is available by setting the `validationRedesignOptIn` flag on the `CarbonProvider` to true. | |||
The following examples use the new validation pattern that is available by setting the `validationRedesignOptIn` flag on the `CarbonProvider` to true. |
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.
suggestion: it may be worth updating other docs which include the same spelling mistake, a quick search from the codebase shows this same mistake present in 14 files
…signOptIn flag Fixes issue where fieldHelp did not have correct spacing with the new validaiton opt in flag. Also fixes issue where all radio buttons in a required group would display the asterisk. fix #6985
🎉 This PR is included in version 144.20.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fix #6985
Proposed behaviour
When
validationRedesignOptIn
flag is true:RadioButtonGroup
legend.Current behaviour
When
validationRedesignOptIn
flag is true:RadioButton
s within a group.Checklist
d.ts
file added or updated if requiredQA
Additional context
Testing instructions
See bugs demo
See 'With New Validation' and 'With New Validation Group' test stories.