Skip to content

Commit b86a394

Browse files
amitvishvakarmaAmol Chaudhari
authored andcommitted
Fixed issue related to Meta Keywords/Description
Fixed issue related to Meta Keywords/Description
1 parent a951912 commit b86a394

File tree

1 file changed

+4
-2
lines changed
  • app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier

1 file changed

+4
-2
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/General.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,10 @@ protected function customizeNameListeners(array $meta)
361361
'allowImport' => !$this->locator->getProduct()->getId(),
362362
];
363363

364-
if (!in_array($listener, $textListeners)) {
365-
$importsConfig['elementTmpl'] = 'ui/form/element/input';
364+
if (in_array($listener, $textListeners)) {
365+
$importsConfig['cols'] = 15;
366+
$importsConfig['rows'] = 2;
367+
$importsConfig['elementTmpl'] = 'ui/form/element/textarea';
366368
}
367369

368370
$meta = $this->arrayManager->merge($listenerPath . static::META_CONFIG_PATH, $meta, $importsConfig);

0 commit comments

Comments
 (0)