Added the possibility to choose the label positioning (above or under the input) for the Form components, except bsCheckbox(), bsToggle() and bsRadio().
Those components label positioning is now handled with the ->labelPositionedAbove(bool $positionedAbove = true): Input method.
The default value is set here config('bootstrap-components.[componentConfigKey].labelPositionedAbove').
Each concerned Form component has now the following added config values (add it in your published config/bootstrap-components.php file) :
// example
'form' => [
'text' => [
// ...
'labelPositionedAbove' => true, // add this config
],
// other components config
],
Replaced class key by classes in the config/bootstrap-components.php file, so make sure you searched and replaced this key in your published config file.
Form
components, exceptbsCheckbox()
,bsToggle()
andbsRadio()
.->labelPositionedAbove(bool $positionedAbove = true): Input
method.config('bootstrap-components.[componentConfigKey].labelPositionedAbove')
.Form
component has now the following added config values (add it in your publishedconfig/bootstrap-components.php
file) :class
key byclasses
in theconfig/bootstrap-components.php
file, so make sure you searched and replaced this key in your published config file.