1
0
mirror of synced 2024-11-21 21:06:07 +03:00

Merge pull request #116 from Neur0toxine/fix-custom-fields-create-example

fix for displayArea for custom-fields/create request
This commit is contained in:
Alex Lushpai 2021-08-30 11:55:20 +03:00 committed by GitHub
commit cefb9fabcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;