You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
-
# Filament Fields
1
+
# Fields
2
2
3
-
[](https://packagist.org/packages/vormkracht10/filament-fields)
[](https://packagist.org/packages/backstage/fields)
## Nice to meet you, we're [Vormkracht10](https://vormkracht10.nl)
8
+
## Nice to meet you, we're [Backstage](https://Backstage.nl)
9
9
10
10
Hi! We are a web development agency from Nijmegen in the Netherlands and we use Laravel for everything: advanced websites with a lot of bells and whitles and large web applications.
11
11
@@ -46,18 +46,18 @@ This package is perfect for scenarios where you need to:
This will create a `filament-fields.php` file in your `config` directory. Make sure to fill in the tenant relationship and the tenant model (if you're using multi-tenancy). When running the migrations, the fields table will be created with the correct tenant relationship.
58
+
This will create a `fields.php` file in your `config` directory. Make sure to fill in the tenant relationship and the tenant model (if you're using multi-tenancy). When running the migrations, the fields table will be created with the correct tenant relationship.
59
59
60
-
The content of the `filament-fields.php` file is as follows:
60
+
The content of the `fields.php` file is as follows:
use Vormkracht10\Fields\Filament\RelationManagers\FieldsRelationManager as RelationManagersFieldsRelationManager;
180
+
use Backstage\Fields\Filament\RelationManagers\FieldsRelationManager as RelationManagersFieldsRelationManager;
181
181
182
182
class FieldsRelationManager extends RelationManagersFieldsRelationManager
183
183
{
@@ -211,7 +211,7 @@ class YourCustomPage extends Page
211
211
212
212
### Add resources as options for select fields
213
213
214
-
When using select fields, you may want to populate the options with relations in your application. To be able to do this, you need to add the resources to the `filament-fields.selectable_resources` config array. We then get the options from the table that belongs to the resource and model.
214
+
When using select fields, you may want to populate the options with relations in your application. To be able to do this, you need to add the resources to the `fields.selectable_resources` config array. We then get the options from the table that belongs to the resource and model.
215
215
216
216
```php
217
217
return [
@@ -229,7 +229,7 @@ return [
229
229
230
230
### Registering your own fields
231
231
232
-
To register your own fields, you can add them to the `filament-fields.fields` config array.
232
+
To register your own fields, you can add them to the `fields.fields` config array.
233
233
234
234
```php
235
235
'custom_fields' => [
@@ -257,7 +257,7 @@ Please review [our security policy](../../security/policy) on how to report secu
0 commit comments