File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Kris/LaravelFormBuilder/Fields Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -536,9 +536,11 @@ private function allDefaults()
536536 return [
537537 'wrapper ' => ['class ' => $ this ->getConfig ('defaults.wrapper_class ' )],
538538 'attr ' => ['class ' => $ this ->getConfig ('defaults.field_class ' )],
539- 'help_block ' => ['text ' => null , 'tag ' => 'p ' , 'attr ' => [
540- 'class ' => $ this ->getConfig ('defaults.help_block_class ' )
541- ]],
539+ 'help_block ' => [
540+ 'text ' => null ,
541+ 'tag ' => $ this ->getConfig ('defaults.help_block_tag ' , 'p ' ),
542+ 'attr ' => ['class ' => $ this ->getConfig ('defaults.help_block_class ' )],
543+ ],
542544 'value ' => null ,
543545 'default_value ' => null ,
544546 'label ' => null ,
Original file line number Diff line number Diff line change 99 'field_error_class ' => '' ,
1010 'help_block_class ' => 'help-block ' ,
1111 'error_class ' => 'text-danger ' ,
12- 'required_class ' => 'required '
12+ 'required_class ' => 'required ' ,
13+
14+ 'help_block_tag ' => 'p ' ,
1315
1416 // Override a class from a field.
1517 //'text' => [
You can’t perform that action at this time.
0 commit comments