8000 minor #11003 document deprecation of the scale option (xabbuh) · symfony/symfony-docs@e294ea6 · GitHub
[go: up one dir, main page]

Skip to content

Commit e294ea6

Browse files
committed
minor #11003 document deprecation of the scale option (xabbuh)
This PR was merged into the 4.2 branch. Discussion ---------- document deprecation of the scale option see symfony/symfony#28570 Commits ------- 6d10f48 document deprecation of the scale option
2 parents 8294428 + 6d10f48 commit e294ea6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reference/forms/types/integer.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ scale
8888

8989
**type**: ``integer`` **default**: ``0``
9090

91+
.. versionadded:: 4.2
92+
93+
The ``scale`` option is deprecated since Symfony 4.2 and will be removed
94+
in 5.0.
95+
9196
This specifies how many decimals will be allowed until the field rounds the
9297
submitted value (via ``rounding_mode``). This option inherits from
9398
:doc:`number </reference/forms/types/number>` type and is overriden to ``0`` for

0 commit comments

Comments
 (0)
0