We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 039556b + 5b3fc05 commit cb02a87Copy full SHA for cb02a87
app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/General.php
@@ -355,8 +355,10 @@ protected function customizeNameListeners(array $meta)
355
'allowImport' => !$this->locator->getProduct()->getId(),
356
];
357
358
- if (!in_array($listener, $textListeners)) {
359
- $importsConfig['elementTmpl'] = 'ui/form/element/input';
+ if (in_array($listener, $textListeners)) {
+ $importsConfig['cols'] = 15;
360
+ $importsConfig['rows'] = 2;
361
+ $importsConfig['elementTmpl'] = 'ui/form/element/textarea';
362
}
363
364
$meta = $this->arrayManager->merge($listenerPath . static::META_CONFIG_PATH, $meta, $importsConfig);
0 commit comments