diff --git a/en/02_Developer_Guides/03_Forms/07_Using_GridField_With_Arbitrary_Data.md b/en/02_Developer_Guides/03_Forms/07_Using_GridField_With_Arbitrary_Data.md index 2279167e4..af71908be 100644 --- a/en/02_Developer_Guides/03_Forms/07_Using_GridField_With_Arbitrary_Data.md +++ b/en/02_Developer_Guides/03_Forms/07_Using_GridField_With_Arbitrary_Data.md @@ -86,7 +86,7 @@ use SilverStripe\ORM\Search\BasicSearchContext; $searchContext = BasicSearchContext::create(null); $searchFields = [ HiddenField::create(BasicSearchContext::config()->get('general_search_field_name')), - TextField::create('FeldName', 'Search Field Label'), + TextField::create('FieldName', 'Search Field Label'), ]; // Pass the BasicSearchContext into the GridFieldFilterHeader component $searchContext->setFields(FieldList::create($searchFields)); @@ -127,7 +127,7 @@ use SilverStripe\Forms\TextField; $detailForm = GridFieldDetailForm::create(); $detailForm->setFields(FieldList::create([ HiddenField::create('ID'), - TextField::create('FeldName', 'View Field Label'), + TextField::create('FieldName', 'View Field Label'), ])); $gridField->getConfig()->addComponents([ GridFieldViewButton::create(), @@ -295,7 +295,7 @@ class DataRepresentation extends ViewableData { return FieldList::create([ HiddenField::create('ID'), - TextField::create('FeldName', 'View Field Label'), + TextField::create('FieldName', 'View Field Label'), ]); }