Closed brightpixels closed 1 year ago
I believe a property for this already exists.
On the <FormGroup/>
component there is a itemClassName
prop that is passed down as seen in the image below.
fieldset > div.itemsClasses > div.itemClassName is the one I believe we are trying to resolve.
(I used itemsClasses
and itemClassName
as classes to help identify which props are being passed).
If I have understood this correctly then there isn't a need for a code change but perhaps renaming the props and adding to documentation may clear up future confusion?
@cg-julian-taylor you are right :) We can close this one.
Describe the bug The FromGroup items are wrapped with a div but there is no option/prop to set the class in this div. I propose a prop called "itemGroupClassName"
To Reproduce Use the FormGroup in a React app and observe the div wrapping the list of radios/checkboxes and attempt to set a class name for this wrapping container
Expected behavior To be able to set a class name on the div wrapping the list of items/radios/checkboxes
Please follow the following instruction to create the new branch: