Skip to content

Allow setting "control-cols" on horizontal form group #6118

Closed
@Trainmaster

Description

@Trainmaster

Is your feature request related to a problem? Please describe...

I'm creating forms using the <b-form-group> element wrapper. While the label width is adjustable via the label-cols parameter, there is no parameter for the control element width. Setting the control element width via e.g. class="col-3" results in two nested divs with class col and thus unwanted padding left/right.

Describe the solution you'd like

Make the control element width adjustable on the <b-form-group> via control-cols.

Describe alternatives you've considered

  • Adding class="col-3 px-0" to the control element
  • Using utility classes on the control element w-50
  • Setting the width via inline-styles

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy