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 Jan 24, 2019
1 parent 1fd2493 commit a5dfa0d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,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 a5dfa0d

Please sign in to comment.