From 842ced4629beaa47a9b4e7e38649f125db0ee839 Mon Sep 17 00:00:00 2001 From: Jimmy Martin <86592192+jimmy-martin@users.noreply.github.com> Date: Mon, 8 Nov 2021 18:54:17 +0100 Subject: [PATCH] [FormType] - avoid "empty_data" duplication I saw that "empty_data" is duplicated in "Field Options", so I suggest this to avoid it. --- reference/forms/types/form.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/reference/forms/types/form.rst b/reference/forms/types/form.rst index dbd929899bf..7afa6b3029c 100644 --- a/reference/forms/types/form.rst +++ b/reference/forms/types/form.rst @@ -55,6 +55,7 @@ option on the form. .. include:: /reference/forms/types/options/empty_data.rst.inc :end-before: DEFAULT_PLACEHOLDER + :start-after: DEFAULT_PLACEHOLDER The actual default value of this option depends on other field options: @@ -63,10 +64,7 @@ The actual default value of this option depends on other field options: * If ``data_class`` is not set and ``compound`` is ``true``, then ``[]`` (empty array); * If ``data_class`` is not set and ``compound`` is ``false``, then ``''`` - (empty string). - -.. include:: /reference/forms/types/options/empty_data.rst.inc - :start-after: DEFAULT_PLACEHOLDER + (empty string). .. _reference-form-option-error-bubbling: