Skip to content

Commit

Permalink
Merge pull request #337 from holmesadam/inline-fix
Browse files Browse the repository at this point in the history
Fix issue with inline not working on Toggle
  • Loading branch information
atmonshi authored Dec 24, 2024
2 parents b24bdd5 + 1c51049 commit debcb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fields/Classes/Toggle.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function appendFilamentComponentsOptions($component, $zeusField, bool $ha
$component = $component->offColor(Color::hex($zeusField->options['off-color']));
}

if (optional($zeusField->options)['is-inline']) {
if (isset($zeusField->options['is-inline'])) {
$component = $component->inline($zeusField->options['is-inline']);
}

Expand Down

0 comments on commit debcb98

Please sign in to comment.