We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CdsRadio
CdsRadioGroup
Declaring a status of 'error' or 'success' on a CdsRadioGroup does not apply it correctly to itself nor to it's chldren CdsRadio components
Create a page to implement CDS (core and react) and implement the following code:
<CdsRadioGroup layout="vertical-inline" status="error"> <label>error</label> <CdsRadio> <label>radio 1</label> <input type="radio" value="1" checked={true} /> </CdsRadio> <CdsRadio> <label>radio 2</label> <input type="radio" value="2" /> </CdsRadio> <CdsRadio> <label>radio 3</label> <input type="radio" value="3" /> </CdsRadio> <CdsControlMessage>error message</CdsControlMessage> </CdsRadioGroup>
Opening the developer console, one can see it's being rendered as neutral:
<cds-radio-group role="group" cds-control-group="" status="neutral" layout="vertical-inline" control-align="left" control-width="stretch" aria-labelledby="_fli69q9ea" aria-describedby="_zbpwz73hd"> <label slot="label" id="_fli69q9ea">error</label> <cds-radio cds-control="" status="neutral" control-width="stretch" control-align="left" layout="vertical" slot="controls" _checked=""> <label slot="label" for="_3yn9ov2ju">radio 1</label> <input type="radio" value="1" checked="" name="_hb4anhl3t" slot="input" id="_3yn9ov2ju"> </cds-radio> <cds-radio cds-control="" status="neutral" control-width="stretch" control-align="left" layout="vertical" slot="controls"> <label slot="label" for="_tiotltu5n">radio 2</label> <input type="radio" value="2" name="_hb4anhl3t" slot="input" id="_tiotltu5n"> </cds-radio> <cds-radio cds-control="" status="neutral" control-width="stretch" control-align="left" layout="vertical" slot="controls"> <label slot="label" for="_yiu14oyjs">radio 3</label> <input type="radio" value="3" name="_hb4anhl3t" slot="input" id="_yiu14oyjs"> </cds-radio> <cds-control-message slot="message" status="neutral" id="_zbpwz73hd">error message</cds-control-message> </cds-radio-group>
The status written on the parent CdsRadioGroup component should be applied to itself and its CdsRadio children.
Clarity project:
Clarity version:
Framework:
Framework version: Windows
Device:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Declaring a status of 'error' or 'success' on a CdsRadioGroup does not apply it correctly to itself nor to it's chldren CdsRadio components
How to reproduce
Create a page to implement CDS (core and react) and implement the following code:
Opening the developer console, one can see it's being rendered as neutral:
Expected behavior
The status written on the parent CdsRadioGroup component should be applied to itself and its CdsRadio children.
Versions
Clarity project:
Clarity version:
Framework:
Framework version:
Windows
Device:
Additional notes
The text was updated successfully, but these errors were encountered: