Skip to content

Commit c82cc8f

Browse files
Andrey ErdikovAndrey Erdikov
authored andcommitted
[C0-3455] Увеличил количество колонок для HTML
1 parent 21dcbd4 commit c82cc8f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Infrastructure/Symfony/Form/ComponentTypes/HTMLComponentType.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ class HTMLComponentType extends AbstractType implements DataTransformerInterface
1313
{
1414
public function buildForm(FormBuilderInterface $builder, array $options)
1515
{
16-
$builder->add('html', TextareaType::class);
16+
$builder->add('html', TextareaType::class, [
17+
'attr' => [
18+
'styles' => 'height: auto;',
19+
'rows' => 10,
20+
]
21+
]);
1722

1823
$builder->resetViewTransformers();
1924
$builder->addViewTransformer($this);

0 commit comments

Comments
 (0)