|
|
|
|
|
by tmbo
2056 days ago
|
|
thanks a lot for the feedback - I am the author of the library. > I'd rather the `questionary.checkbox` produce a checkbox instead of radio button. As you said, it doesn't behave like a radio group though but like group of checkboxes (as it allows you to select multiple items). Do you mean that the default styling of using empty & filled circles to display selections is confusing? |
|
Yes. Most of the time, radio buttons are mutually exclusive and you can only choose one. Check boxes on the other hand are, most of the time, cumulative.
i.e: if you want to signify you can select multiple items, you use check boxes. If you want to signify you can select only one item, you use a radio button.
I'm a simple person conditioned by years of this pattern, but I think you'd find the same sentiment if you search for "checkbox vs radio button".