Skip to content

Commit 2935b04

Browse files
committed
Merge branch 'feat/conditional-fields' of github.com:backstagephp/fields into feat/conditional-fields
2 parents b96ab77 + 156dc21 commit 2935b04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Fields/FormSchemas/VisibilityRulesSchema.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Backstage\Fields\Fields\FormSchemas;
44

5-
use Filament\Forms;
6-
use Backstage\Fields\Models\Field;
75
use Backstage\Fields\Fields\Helpers\FieldOptionsHelper;
6+
use Backstage\Fields\Models\Field;
7+
use Filament\Forms;
88

99
class VisibilityRulesSchema
1010
{
@@ -77,6 +77,7 @@ public static function make(): array
7777

7878
if (isset($state['field'])) {
7979
$field = Field::find($state['field']);
80+
8081
return $field->name ?? null;
8182
}
8283

0 commit comments

Comments
 (0)