diff --git a/reference/forms/types/birthday.rst b/reference/forms/types/birthday.rst index 2f9a9a8eb26..d7267913dce 100644 --- a/reference/forms/types/birthday.rst +++ b/reference/forms/types/birthday.rst @@ -31,6 +31,7 @@ option defaults to 120 years ago to the current year. | | - `user_timezone`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | +| | - `virtual`_ | +----------------------+------------------------------------------------------------------------------------------------------------------------+ | Parent type | :doc:`date` | +----------------------+------------------------------------------------------------------------------------------------------------------------+ @@ -75,3 +76,6 @@ These options inherit from the :doc:`date` type: .. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc +These options inherit from the :doc:`date` type: + +.. include:: /reference/forms/types/options/virtual.rst.inc \ No newline at end of file diff --git a/reference/forms/types/choice.rst b/reference/forms/types/choice.rst index c0c72982c70..6463b3bbadb 100644 --- a/reference/forms/types/choice.rst +++ b/reference/forms/types/choice.rst @@ -26,6 +26,7 @@ option. | options | - `label`_ | | | - `read_only`_ | | | - `error_bubbling`_ | +| | - `virtual`_ | +-------------+-----------------------------------------------------------------------------+ | Parent type | :doc:`form` (if expanded), ``field`` otherwise | +-------------+-----------------------------------------------------------------------------+ @@ -119,3 +120,7 @@ These options inherit from the :doc:`field` type: .. include:: /reference/forms/types/options/read_only.rst.inc .. include:: /reference/forms/types/options/error_bubbling.rst.inc + +These options inherit from the :doc:`date` type: + +.. include:: /reference/forms/types/options/virtual.rst.inc \ No newline at end of file diff --git a/reference/forms/types/date.rst b/reference/forms/types/date.rst index ea7f9dac43f..6ef11ece872 100644 --- a/reference/forms/types/date.rst +++ b/reference/forms/types/date.rst @@ -32,6 +32,7 @@ day, and year) or three select boxes (see the `widget_` option). +----------------------+-----------------------------------------------------------------------------+ | Inherited | - `invalid_message`_ | | options | - `invalid_message_parameters`_ | +| | - `virtual`_ | +----------------------+-----------------------------------------------------------------------------+ | Parent type | ``field`` (if text), ``form`` otherwise | +----------------------+-----------------------------------------------------------------------------+ @@ -120,4 +121,8 @@ These options inherit from the :doc:`field` type: .. include:: /reference/forms/types/options/invalid_message.rst.inc -.. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc \ No newline at end of file +.. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc + +These options inherit from the :doc:`date` type: + +.. include:: /reference/forms/types/options/virtual.rst.inc \ No newline at end of file diff --git a/reference/forms/types/datetime.rst b/reference/forms/types/datetime.rst index bc4401c43fa..636e1eaffdf 100644 --- a/reference/forms/types/datetime.rst +++ b/reference/forms/types/datetime.rst @@ -31,6 +31,7 @@ data can be a ``DateTime`` object, a string, a timestamp or an array. +----------------------+-----------------------------------------------------------------------------+ | Inherited | - `invalid_message`_ | | options | - `invalid_message_parameters`_ | +| | - `virtual`_ | +----------------------+-----------------------------------------------------------------------------+ | Parent type | :doc:`form` | +----------------------+-----------------------------------------------------------------------------+ @@ -104,4 +105,8 @@ These options inherit from the :doc:`field` type: .. include:: /reference/forms/types/options/invalid_message.rst.inc -.. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc \ No newline at end of file +.. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc + +These options inherit from the :doc:`date` type: + +.. include:: /reference/forms/types/options/virtual.rst.inc \ No newline at end of file diff --git a/reference/forms/types/options/virtual.rst.inc b/reference/forms/types/options/virtual.rst.inc new file mode 100644 index 00000000000..fc938856199 --- /dev/null +++ b/reference/forms/types/options/virtual.rst.inc @@ -0,0 +1,7 @@ +virtual +~~~~~~~ + +**type**: ``boolean`` **default**: ``false`` + +This option determines if the form will be mapped with data. This can be usefull +if you need a form to structure the view. \ No newline at end of file diff --git a/reference/forms/types/time.rst b/reference/forms/types/time.rst index 8568b8905a5..ed031d1251a 100644 --- a/reference/forms/types/time.rst +++ b/reference/forms/types/time.rst @@ -26,6 +26,7 @@ as a ``DateTime`` object, a string, a timestamp or an array. +----------------------+-----------------------------------------------------------------------------+ | Inherited | - `invalid_message`_ | | options | - `invalid_message_parameters`_ | +| | - `virtual`_ | +----------------------+-----------------------------------------------------------------------------+ | Parent type | form | +----------------------+-----------------------------------------------------------------------------+ @@ -115,4 +116,8 @@ These options inherit from the :doc:`field` type: .. include:: /reference/forms/types/options/invalid_message.rst.inc -.. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc \ No newline at end of file +.. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc + +These options inherit from the :doc:`date` type: + +.. include:: /reference/forms/types/options/virtual.rst.inc \ No newline at end of file