Skip to content

Commit

Permalink
Fix issue with inline not working on Toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
holmesadam committed Dec 13, 2024
1 parent 2a4e327 commit 1c51049
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 @@ -126,7 +126,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 1c51049

Please sign in to comment.