1
0
mirror of synced 2024-11-22 05:16:07 +03:00

fix for displayArea for custom-fields/create request

This commit is contained in:
Pavel 2021-08-30 11:37:47 +03:00
parent 1a5c972842
commit 822058c241

View File

@ -377,7 +377,7 @@ class CustomFields extends AbstractApiResourceGroup
* $field->code = 'description'; * $field->code = 'description';
* $field->type = CustomFieldType::STRING; * $field->type = CustomFieldType::STRING;
* $field->ordering = 10; * $field->ordering = 10;
* $field->displayArea = CustomFieldDisplayArea::CUSTOMER; * $field->displayArea = CustomFieldDisplayArea::MAIN_DATA;
* $field->viewMode = CustomFieldViewMode::EDITABLE; * $field->viewMode = CustomFieldViewMode::EDITABLE;
* $field->inFilter = true; * $field->inFilter = true;
* $field->inList = true; * $field->inList = true;