Skip to content
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

Configure default size of input and select #3805

Closed
creminem94 opened this issue Aug 2, 2019 · 2 comments · Fixed by #3841
Closed

Configure default size of input and select #3805

creminem94 opened this issue Aug 2, 2019 · 2 comments · Fixed by #3841

Comments

@creminem94
Copy link

It would be very useful to change the defualt sizing of form input and select.
If I'd like to use small select in all my application I need to remember to always put size="sm" every time.
Please add the possibility to change size prop of BFormInput and BFormSelect in default configuration

jacobmllr95 added a commit that referenced this issue Aug 8, 2019
* feat(config): defaults for all `size` properties

* Update config-defaults.js

* Update config-defaults.js

* Update config-defaults.js

* Improve pagination config handling

* Update pagination.js

* Fix pagination

* Update pagination.js

* BFormControl => formControls

* Update README.md

* Update README.md

* Update README.md
@tmorehouse
Copy link
Member

BootstrapVue v2.0.0-rc.28 has been released.

@wbswjc
Copy link

wbswjc commented Mar 30, 2021

Horray! 👍

Vue.use(BootstrapVue, {
    BButton: {size: 'sm'},
    BFormGroup: {labelSize: 'sm'},
    BFormInput: {size: 'sm'},
    // ...
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants