mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-24 20:58:31 +00:00
Change all content from rst format to markdown and correct spelling/grammar
This commit is contained in:
25
docs/source/development/forms.md
Normal file
25
docs/source/development/forms.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user