diff --git a/src/Models/FieldGroup.php b/src/Models/FieldGroup.php index 1431b02..196e6f6 100644 --- a/src/Models/FieldGroup.php +++ b/src/Models/FieldGroup.php @@ -63,6 +63,9 @@ public function toFilamentComponent() $fiFormComponent->label($field->label); $fiFormComponent->helperText($field->instructions); $fiFormComponent->required($field->mandatory); + if ($field->state_path) { + $fiFormComponent->statePath($field->state_path); + } $fiFormConfig->applyConfig($fiFormComponent);