mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
use ckeditor in custom type
This commit is contained in:
@@ -36,6 +36,7 @@ use Chill\CustomFieldsBundle\Form\Type\CustomFieldType;
|
||||
use Chill\PersonBundle\Form\Type\Select2MaritalStatusType;
|
||||
use Chill\PersonBundle\Config\ConfigPersonAltNamesHelper;
|
||||
use Chill\PersonBundle\Form\Type\PersonAltNameType;
|
||||
use Chill\MainBundle\Form\Type\ChillTextareaType;
|
||||
|
||||
class PersonType extends AbstractType
|
||||
{
|
||||
@@ -89,7 +90,7 @@ class PersonType extends AbstractType
|
||||
|
||||
if ($this->config['memo'] === 'visible') {
|
||||
$builder
|
||||
->add('memo', TextareaType::class, array('required' => false))
|
||||
->add('memo', ChillTextareaType::class, array('required' => false))
|
||||
;
|
||||
}
|
||||
|
||||
@@ -98,7 +99,7 @@ class PersonType extends AbstractType
|
||||
}
|
||||
|
||||
if ($this->config['contact_info'] === 'visible') {
|
||||
$builder->add('contactInfo', TextareaType::class, array('required' => false));
|
||||
$builder->add('contactInfo', ChillTextareaType::class, array('required' => false));
|
||||
}
|
||||
|
||||
if ($this->config['phonenumber'] === 'visible') {
|
||||
|
Reference in New Issue
Block a user