mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Added more clearance to docs
Specifying form inputs' names prefix in the Form Types Features documentation section
This commit is contained in:
parent
c92789e00f
commit
1c05399261
@ -248,11 +248,10 @@ documentation.
|
|||||||
|
|
||||||
#### Form Types Features
|
#### Form Types Features
|
||||||
|
|
||||||
If you use `FormFactoryInterface::createdNamed('', 'your_form_type'`, then by
|
Even if you use `FormFactoryInterface::createNamed('', 'your_form_type')` the documentation will generate the form type name as the prefix for inputs
|
||||||
default the documentation will use the form type name as the prefix
|
|
||||||
(`your_form_type[param]` ... instead of just `param`).
|
(`your_form_type[param]` ... instead of just `param`).
|
||||||
|
|
||||||
You can specify which prefix to use with the `name` key:
|
You can specify which prefix to use with the `name` key in the `input` section:
|
||||||
|
|
||||||
```
|
```
|
||||||
input = {
|
input = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user