Skip to content

Commit a8ad338

Browse files
committed
Documented overriden options for numeric types
1 parent e66ec5c commit a8ad338

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

reference/forms/types/integer.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ integers. By default, all non-integer values (e.g. 6.78) will round down
1616
+-------------+-----------------------------------------------------------------------+
1717
| Rendered as | ``input`` ``number`` field |
1818
+-------------+-----------------------------------------------------------------------+
19+
| Overridden | - `compound`_ |
20+
| Options | |
21+
+-------------+-----------------------------------------------------------------------+
1922
| Options | - `grouping`_ |
2023
| | - `precision`_ |
2124
| | - `rounding_mode`_ |
@@ -38,6 +41,11 @@ integers. By default, all non-integer values (e.g. 6.78) will round down
3841
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\IntegerType` |
3942
+-------------+-----------------------------------------------------------------------+
4043

44+
Overridden Options
45+
------------------
46+
47+
.. include:: /reference/forms/types/options/compound_type.rst.inc
48+
4149
Field Options
4250
-------------
4351

reference/forms/types/money.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ how the input and output of the data is handled.
1414
+-------------+---------------------------------------------------------------------+
1515
| Rendered as | ``input`` ``text`` field |
1616
+-------------+---------------------------------------------------------------------+
17+
| Overridden | - `compound`_ |
18+
| Options | |
19+
+-------------+---------------------------------------------------------------------+
1720
| Options | - `currency`_ |
1821
| | - `divisor`_ |
1922
| | - `grouping`_ |
@@ -37,6 +40,11 @@ how the input and output of the data is handled.
3740
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\MoneyType` |
3841
+-------------+---------------------------------------------------------------------+
3942

43+
Overridden Options
44+
------------------
45+
46+
.. include:: /reference/forms/types/options/compound_type.rst.inc
47+
4048
Field Options
4149
-------------
4250

reference/forms/types/number.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ that you want to use for your number.
1111
+-------------+----------------------------------------------------------------------+
1212
| Rendered as | ``input`` ``text`` field |
1313
+-------------+----------------------------------------------------------------------+
14+
| Overridden | - `compound`_ |
15+
| Options | |
16+
+-------------+----------------------------------------------------------------------+
1417
| Options | - `grouping`_ |
1518
| | - `precision`_ |
1619
| | - `rounding_mode`_ |
@@ -33,6 +36,11 @@ that you want to use for your number.
3336
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\NumberType` |
3437
+-------------+----------------------------------------------------------------------+
3538

39+
Overridden Options
40+
------------------
41+
42+
.. include:: /reference/forms/types/options/compound_type.rst.inc
43+
3644
Field Options
3745
-------------
3846

reference/forms/types/percent.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ This field adds a percentage sign "``%``" after the input box.
1515
+-------------+-----------------------------------------------------------------------+
1616
| Rendered as | ``input`` ``text`` field |
1717
+-------------+-----------------------------------------------------------------------+
18+
| Overridden | - `compound`_ |
19+
| Options | |
20+
+-------------+-----------------------------------------------------------------------+
1821
| Options | - `precision`_ |
1922
| | - `type`_ |
2023
+-------------+-----------------------------------------------------------------------+
@@ -36,6 +39,11 @@ This field adds a percentage sign "``%``" after the input box.
3639
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\PercentType` |
3740
+-------------+-----------------------------------------------------------------------+
3841

42+
Overridden Options
43+
------------------
44+
45+
.. include:: /reference/forms/types/options/compound_type.rst.inc
46+
3947
Field Options
4048
-------------
4149

0 commit comments

Comments
 (0)