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

Commit43862c4

Browse files
mdoutreluingnejaviereguiluz
authored andcommitted
[Form] Addmodel_type option toMoneyType
1 parented1f530 commit43862c4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎reference/forms/types/money.rst‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,18 @@ If set to ``true``, the HTML input will be rendered as a native HTML5
7676

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

79+
model_type
80+
~~~~~~~~~~
81+
82+
**type**: ``string`` **default**: ``float``
83+
84+
If, for some reason, you need the value to be converted to an ``integer`` instead of a ``float``,
85+
you can set the option value to ``integer``.
86+
87+
..versionadded::7.1
88+
89+
The ``model_type`` option was introduced in Symfony 7.1.
90+
7991
scale
8092
~~~~~
8193

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp