Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit911cc70

Browse files
committed
add an introductory table containing all options of the basic form type
1 parent3e7028d commit911cc70

File tree

1 file changed

+38
-3
lines changed

1 file changed

+38
-3
lines changed

‎reference/forms/types/form.rst

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,45 @@
44
form Field Type
55
===============
66

7-
See:class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\FormType`.
8-
97
The ``form`` type predefines a couple of options that are then available
10-
on all fields.
8+
on all types for which ``form`` is the parent type.
9+
10+
+---------+--------------------------------------------------------------------+
11+
| Options| - `compound`_|
12+
|| - `data`_|
13+
|| - `data_class`_|
14+
|| - `empty_data`_|
15+
|| - `required`_|
16+
|| - `label`_|
17+
|| - `label_attr`_|
18+
|| - `constraints`_|
19+
|| - `cascade_validation`_|
20+
|| - `read_only`_|
21+
|| - `disabled`_|
22+
|| - `trim`_|
23+
|| - `mapped`_|
24+
|| - `property_path`_|
25+
|| - `attr`_|
26+
|| - `translation_domain`_|
27+
|| - `block_name`_|
28+
|| - `max_length`_|
29+
|| - `by_reference`_|
30+
|| - `error_bubbling`_|
31+
|| - `inherit_data`_|
32+
|| - `error_mapping`_|
33+
|| - `invalid_message`_|
34+
|| - `invalid_message_parameters`_|
35+
|| - `extra_fields_message`_|
36+
|| - `post_max_size_message`_|
37+
|| - `pattern`_|
38+
+---------+--------------------------------------------------------------------+
39+
| Parent| none|
40+
+---------+--------------------------------------------------------------------+
41+
| Class|:class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\FormType`|
42+
+---------+--------------------------------------------------------------------+
43+
44+
Options
45+
-------
1146

1247
..include::/reference/forms/types/options/data.rst.inc
1348

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp