Skip to content

Commit efc74cd

Browse files
authored
fix: #14495 Allow custom varchar attributes for customer grid
* As described in the issue, it does not make sense to use the backend-type for the UI-component data type, because those do not exist necessarily * Changed it to frontend_input
1 parent 5844ade commit efc74cd

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/Ui/Component/Listing

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Ui/Component/Listing/Columns.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function updateColumn(array $attributeData, $newAttributeCode)
171171
$component->getData('config'),
172172
[
173173
'name' => $newAttributeCode,
174-
'dataType' => $attributeData[AttributeMetadata::BACKEND_TYPE],
174+
'dataType' => $attributeData[AttributeMetadata::FRONTEND_INPUT],
175175
'visible' => (bool)$attributeData[AttributeMetadata::IS_VISIBLE_IN_GRID]
176176
]
177177
);

0 commit comments

Comments
 (0)