-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
FormGroup: allow setting label-cols=auto #4217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
hackel opened this issue
Oct 7, 2019
· 2 comments
· Fixed by #4218, mariazevedo88/hash-generator-js#17, CloudsdaleGroup/AnimFM#3, mariazevedo88/hash-generator-js#24 or tghelere/CL#8
Closed
FormGroup: allow setting label-cols=auto #4217
hackel opened this issue
Oct 7, 2019
· 2 comments
· Fixed by #4218, mariazevedo88/hash-generator-js#17, CloudsdaleGroup/AnimFM#3, mariazevedo88/hash-generator-js#24 or tghelere/CL#8
Labels
Comments
I think this shouldn't be too difficult to add... it would need to be made available for all label break points |
BootstrapVue |
This was referenced Jan 17, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the
labelCols
prop only accepts a boolean or a number to explicitly define the percentage of the container the label will fill.I would like the label to auto-size based on its contents by using the
col-auto
class on thelabel
instead ofcol
. Specifyinglabel-cols="auto"
seems like a reasonable way to do this, or perhaps another boolean prop likelabel-col-auto
.I can currently achieve what I want like this:
In this case, the label gets both classes applied, but it works because
col-auto
overrides thecol
properties. I just don't feel like it conveys the intent well.The desired output would be:
The text was updated successfully, but these errors were encountered: