Skip to content

Commit

Permalink
Fixed issue related to Meta Keywords/Description
Browse files Browse the repository at this point in the history
Fixed issue related to Meta Keywords/Description
  • Loading branch information
amitvishvakarma authored and Amol Chaudhari committed Feb 13, 2019
1 parent a951912 commit b86a394
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,10 @@ protected function customizeNameListeners(array $meta)
'allowImport' => !$this->locator->getProduct()->getId(),
];

if (!in_array($listener, $textListeners)) {
$importsConfig['elementTmpl'] = 'ui/form/element/input';
if (in_array($listener, $textListeners)) {
$importsConfig['cols'] = 15;
$importsConfig['rows'] = 2;
$importsConfig['elementTmpl'] = 'ui/form/element/textarea';
}

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

0 comments on commit b86a394

Please sign in to comment.