The checkbox select and radio select should use the standalone variation of checkbox and radio components.
This will match core's checkbox and radio examples. It will also match DataListCheck, which is similar
|
<Checkbox |
|
id={id ?? `datalist-check-${randomId}`} |
|
isChecked={isChecked} |
|
checked={checked} |
|
defaultChecked={defaultChecked} |
|
onChange={onChange} |
|
aria-invalid={!isValid} |
|
isDisabled={isDisabled} |
|
isLabelWrapped |
|
{...props} |
|
/> |
The checkbox select and radio select should use the standalone variation of checkbox and radio components.
This will match core's checkbox and radio examples. It will also match DataListCheck, which is similar
patternfly-react/packages/react-core/src/components/DataList/DataListCheck.tsx
Lines 54 to 64 in dd5671c