adamwathan / bootforms

Rapid form generation with Bootstrap 3 and Laravel.
MIT License
417 stars 103 forks source link

Change columnSizes per form-group? #141

Open apiening opened 7 years ago

apiening commented 7 years ago

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?

jesseleite commented 7 years ago

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.