mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-24 12:48:30 +00:00
26 lines
438 B
Markdown
26 lines
438 B
Markdown
# Forms and form types
|
|
|
|
###### Date picker
|
|
|
|
Class
|
|
`Chill\MainBundle\Form\Type\ChillDateType`
|
|
Extend
|
|
`Symfony\Component\Form\Extension\Core\Type\DateType`
|
|
|
|
Usage :
|
|
|
|
```
|
|
use Chill\MainBundle\Form\Type\ChillDateType;
|
|
|
|
$builder->add('date' ChillDateType::class);
|
|
```
|
|
|
|
###### Text editor
|
|
|
|
Add a text editor (by default).
|
|
|
|
Class
|
|
`Chill\MainBundle\Form\Type\ChillTextareaType`
|
|
Options
|
|
* `disable_editor` to disable text editor
|