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.
1 parent 21dcbd4 commit c82cc8fCopy full SHA for c82cc8f
src/Infrastructure/Symfony/Form/ComponentTypes/HTMLComponentType.php
@@ -13,7 +13,12 @@ class HTMLComponentType extends AbstractType implements DataTransformerInterface
13
{
14
public function buildForm(FormBuilderInterface $builder, array $options)
15
16
- $builder->add('html', TextareaType::class);
+ $builder->add('html', TextareaType::class, [
17
+ 'attr' => [
18
+ 'styles' => 'height: auto;',
19
+ 'rows' => 10,
20
+ ]
21
+ ]);
22
23
$builder->resetViewTransformers();
24
$builder->addViewTransformer($this);
0 commit comments