Closed
Description
Is your feature request related to a problem? Please describe...
Lots of BModal props are not globally configurable with the settings. This result in lots of repeating code if, in example, you don't want the modal to be closed on backdrop click in your application.
Describe the solution you'd like
Add the following properties to the BModal Settings:
- centered
- scrollable
- button-size
- no-stacking
- no-fade
- no-close-on-backdrop
- no-close-on-esc
- title-class
- header-class
- modal-class
- dialog-class
- content-class
- body-class
- footer-class
- hide-header
- hide-footer
- hide-header-close
- hide-backdrop
- ok-only
- ok-disabled
- cancel-disabled
Describe alternatives you've considered
Create a custom modal that just call the BModal with the prefered default settings.
Activity
[-]Feature request: More settings for BModal[/-][+]Enhancement: More settings for BModal[/+]jacobmllr95 commentedon Oct 25, 2020
@vincentdh The problem with adding all those additional props to the global config is that it boats the bundle quite a bit since the default config can't be minified.
We have to rethink the global settings implementation in BootstrapVue v3 anyway, so I would put this on hold for that.
feat(config): improved defaults handling (closes #4507, #5138, #5291, #…
chore: release v2.19.0 (#6026)
chore: release v2.20.0 (#6111)
chore: release v2.20.1 (#6116)
chore: release v2.21.0 (#6196)
chore: release v2.21.1 (#6221)
chore: release v2.21.2 (#6277)