Skip to content

Commit

Permalink
comment+
Browse files Browse the repository at this point in the history
  • Loading branch information
rudiedirkx authored Nov 29, 2024
1 parent 883e066 commit a171520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kris/LaravelFormBuilder/Fields/FormField.php
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ protected function setDefaultOptions(array $options = [])
// Get default defaults from config (eg. defaults.field_class)
$this->options = $this->formHelper->mergeOptions($this->allDefaults(), $this->getDefaults());

// Maybe overwrite with field type defaults from config (eg. defaults, checkbox, field_class)
// Maybe overwrite with field type defaults from config (eg. defaults.checkbox.field_class)
$defaults = $this->setDefaultClasses($options);
$this->options = $this->formHelper->mergeOptions($this->options, $defaults);

Expand Down

0 comments on commit a171520

Please sign in to comment.