You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When presenting something like a Checkbox List of Weekdays (Sun, Mon, Tue, Wed, Thu, Fri, Sat), displaying them vertically is taking a lot of space, where I would prefer to see them horizontally.
I think this is controlled by this line, but there presently is no control over it.
Could a configuration be added to FormBuilderCheckboxList to control whether the FormBuilderFieldOption are displayed as a Column or a Row?
(I haven't really tried this, so it may sound easier than it actually is.)
The text was updated successfully, but these errors were encountered:
Hi @awhitford,
I've been considering the use of grouped_checkbox package for this purpose but I think it may introduce one or more breaking changes for current users.
I'm therefore planning to introduce it in v4.0.0 which is in the works.
What are your thoughts?
I've never used the grouped_checkbox package, but the flexibility that it seems to offer looks attractive.
If you introduced this as a new class like FormBuilderCheckboxGroup, and it behaved like FormBuilderCheckboxList, it could be (more or less) a drop-in replacement. (Like how transitioning from FormBuilderStepper to FormBuilderTouchSpin was trivial.)
(For my particular scenario that triggered this issue, I ended up using a row of CheckboxListTile widgets.)
Another thing that caught my eye looking at grouped_checkbox is those group borders. I remember I used to use <fieldset> back with HTML. Having a field-group widget might be nice. (I know, separate issue.)
Yeah. This seems like a great idea, which should be considered.
What I'm worried about is that since it's not really a bug, and it'll end up taking my already limited available time to work on v4 which aims to fix lots of bugs.
Honestly, better checkbox fields are a relatively low priority for me. When I initiated this issue, I was thinking that this could be a trivial tweak by adding a layout setting.
(I'm actually much more interested in #177 and #54.)
When presenting something like a Checkbox List of Weekdays (Sun, Mon, Tue, Wed, Thu, Fri, Sat), displaying them vertically is taking a lot of space, where I would prefer to see them horizontally.
I think this is controlled by this line, but there presently is no control over it.
Could a configuration be added to
FormBuilderCheckboxList
to control whether theFormBuilderFieldOption
are displayed as a Column or a Row?(I haven't really tried this, so it may sound easier than it actually is.)
The text was updated successfully, but these errors were encountered: