Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions reference/forms/types/money.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,18 @@ If set to ``true``, the HTML input will be rendered as a native HTML5

As HTML5 number format is normalized, it is incompatible with ``grouping`` option.

model_type
~~~~~~~~~~

**type**: ``string`` **default**: ``float``

If, for some reason, you need the value to be converted to an ``integer`` instead of a ``float``,
you can set the option value to ``integer``.

.. versionadded:: 7.1

The ``model_type`` option was introduced in Symfony 7.1.

scale
~~~~~

Expand Down