From a209c5709324cea384f54097333c289d77153571 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 2 May 2024 08:50:08 +0200 Subject: [PATCH] rename the model_type option to input --- reference/forms/types/money.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/forms/types/money.rst b/reference/forms/types/money.rst index 8e2130a5909..5793097fe2f 100644 --- a/reference/forms/types/money.rst +++ b/reference/forms/types/money.rst @@ -76,8 +76,8 @@ 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 -~~~~~~~~~~ +input +~~~~~ **type**: ``string`` **default**: ``float`` @@ -87,7 +87,7 @@ values stored in cents as integers) set this option to ``integer``. .. versionadded:: 7.1 - The ``model_type`` option was introduced in Symfony 7.1. + The ``input`` option was introduced in Symfony 7.1. scale ~~~~~