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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ class ContentResource extends Resource
136
136
137
137
### Making a resource page configurable
138
138
139
-
To make a resource page configurable, you need to add the `HasFieldsMapper` trait to your page. For this example, we'll make a `EditContent` page configurable.
139
+
To make a resource page configurable, you need to add the `CanMapDynamicFields` trait to your page. For this example, we'll make a `EditContent` page configurable.
140
140
141
141
```php
142
142
<?php
@@ -148,13 +148,13 @@ use Filament\Forms\Components\Tabs;
148
148
use Filament\Forms\Components\Tabs\Tab;
149
149
use Filament\Forms\Form;
150
150
use Filament\Resources\Pages\EditRecord;
151
-
use Vormkracht10\Fields\Concerns\HasFieldsMapper;
151
+
use Vormkracht10\Fields\Concerns\CanMapDynamicFields;
@@ -190,12 +190,12 @@ class FieldsRelationManager extends RelationManagersFieldsRelationManager
190
190
191
191
### Making a custom page configurable
192
192
193
-
To make a custom page configurable, you need to add the `HasFieldsMapper` trait to your page and set the `record` property on the page. This way the fields will be populated with the fields of the record.
193
+
To make a custom page configurable, you need to add the `CanMapDynamicFields` trait to your page and set the `record` property on the page. This way the fields will be populated with the fields of the record.
0 commit comments