From 822058c2416f1274d1fb8ed9481f02d6192b855c Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Mon, 30 Aug 2021 11:37:47 +0300 Subject: [PATCH] fix for displayArea for custom-fields/create request --- src/ResourceGroup/CustomFields.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResourceGroup/CustomFields.php b/src/ResourceGroup/CustomFields.php index 5388bd8..72b58c5 100644 --- a/src/ResourceGroup/CustomFields.php +++ b/src/ResourceGroup/CustomFields.php @@ -377,7 +377,7 @@ class CustomFields extends AbstractApiResourceGroup * $field->code = 'description'; * $field->type = CustomFieldType::STRING; * $field->ordering = 10; - * $field->displayArea = CustomFieldDisplayArea::CUSTOMER; + * $field->displayArea = CustomFieldDisplayArea::MAIN_DATA; * $field->viewMode = CustomFieldViewMode::EDITABLE; * $field->inFilter = true; * $field->inList = true;