fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Checkbox grouped

Open aminezemzemi opened this issue 7 years ago • 3 comments

Hi, I searched in the documentation and I didn't find explanation for grouping checkboxes. How can we do it ? Cordially

aminezemzemi avatar Jan 16 '19 11:01 aminezemzemi

Have a look at this CodePen: https://codepen.io/mikewheaton/pen/vvMxpz?editors=0010

To group the checkboxes together as a single input for a form submission, you can use a shared name attribute between them. And a styles prop can be used to add some space between them in the layout.

mikewheaton avatar Jan 16 '19 15:01 mikewheaton

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fabric React!

msft-github-bot avatar Jan 20 '19 16:01 msft-github-bot

@mikewheaton Thank your for your help, did you know if we can set add required property like ChoiceGroup Component.

aminezemzemi avatar Jan 25 '19 15:01 aminezemzemi