Skip to content

Commit c4e79cd

Browse files
Baspagithub-actions[bot]
authored andcommitted
Fix styling
1 parent c823c75 commit c4e79cd

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

config/filament-fields.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
'selectable_resources' => [
1919
// App\Filament\Resources\ContentResource::class,
2020
],
21-
];
21+
];

src/Concerns/HasOptions.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ public function optionFormFields(): Fieldset
105105
Forms\Components\KeyValue::make('config.options')
106106
->label(__('Options'))
107107
->columnSpanFull()
108-
->visible(fn(Forms\Get $get): bool => $get('config.optionType') == 'array')
109-
->required(fn(Forms\Get $get): bool => $get('config.optionType') == 'array'),
108+
->visible(fn (Forms\Get $get): bool => $get('config.optionType') == 'array')
109+
->required(fn (Forms\Get $get): bool => $get('config.optionType') == 'array'),
110110
// Relationship options
111111
Repeater::make('config.relations')
112112
->label(__('Relations'))
@@ -165,19 +165,19 @@ public function optionFormFields(): Fieldset
165165
->toArray();
166166
})
167167
->noSearchResultsMessage(__('No types found'))
168-
->required(fn(Forms\Get $get): bool => $get('config.optionType') == 'relationship'),
168+
->required(fn (Forms\Get $get): bool => $get('config.optionType') == 'relationship'),
169169
Forms\Components\Hidden::make('relationKey')
170170
->default('ulid')
171171
->label(__('Key'))
172-
->required(fn(Forms\Get $get): bool => $get('config.optionType') == 'relationship'),
172+
->required(fn (Forms\Get $get): bool => $get('config.optionType') == 'relationship'),
173173
Forms\Components\Repeater::make('relationValue_filters')
174174
->label(__('Filters'))
175-
->visible(fn(Forms\Get $get): bool => ! empty($get('resource')))
175+
->visible(fn (Forms\Get $get): bool => ! empty($get('resource')))
176176
->schema([
177177
Forms\Components\Grid::make(3)
178178
->schema([
179179
Forms\Components\Select::make('column')
180-
->options(fn(\Filament\Forms\Get $get) => $get('../../relationValue_options') ?? [
180+
->options(fn (\Filament\Forms\Get $get) => $get('../../relationValue_options') ?? [
181181
'slug' => __('Slug'),
182182
'name' => __('Name'),
183183
])
@@ -232,7 +232,7 @@ public function optionFormFields(): Fieldset
232232
->columnSpanFull(),
233233
]),
234234
])
235-
->visible(fn(Forms\Get $get): bool => $get('config.optionType') == 'relationship')
235+
->visible(fn (Forms\Get $get): bool => $get('config.optionType') == 'relationship')
236236
->columnSpanFull(),
237237
]),
238238
]);

src/FieldsServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@ protected function getMigrations(): array
155155
'create_fields_table',
156156
];
157157
}
158-
}
158+
}

src/Models/Field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ public function tenant(): ?BelongsTo
4949

5050
return null;
5151
}
52-
}
52+
}

0 commit comments

Comments
 (0)