bootforms icon indicating copy to clipboard operation
bootforms copied to clipboard

Change columnSizes per form-group?

Open apiening opened this issue 6 years ago • 1 comments

I use Bootform::openHorizontal with an array with my columnSizes and it is applied to all form-groups I add to the form. On some fields I have a relatively long title and the input control is just a checkbox or date-field. I wonder if it is possible to override the columnSizes for specific form-groups?

apiening avatar Oct 15 '17 17:10 apiening

I'd suggest you use open() instead of openHorizontal() and use labels and form controls (see base form package) and bootstrap grid, to suit your own custom layout. It's more work layout-wise, but bootforms still does the hard stuff like binding and validation handling.

jesseleite avatar Oct 16 '17 14:10 jesseleite