diff --git a/cookbook/form/data_transformers.rst b/cookbook/form/data_transformers.rst index 072d02a1aa8..38da9e249ea 100644 --- a/cookbook/form/data_transformers.rst +++ b/cookbook/form/data_transformers.rst @@ -17,6 +17,11 @@ You could try to do this in your controller, but it's not the best solution. It would be better if this issue were automatically converted to an Issue object. This is where Data Transformers come into play. +.. caution:: + + When a form field has the ``inherit_data`` option set, Data Transformers + won't be applied to that field. + Creating the Transformer ------------------------ diff --git a/reference/forms/types/options/inherit_data.rst.inc b/reference/forms/types/options/inherit_data.rst.inc index 9f5f1510ca8..3025e018660 100644 --- a/reference/forms/types/options/inherit_data.rst.inc +++ b/reference/forms/types/options/inherit_data.rst.inc @@ -10,3 +10,9 @@ inherit_data This option determines if the form will inherit data from its parent form. This can be useful if you have a set of fields that are duplicated across multiple forms. See :doc:`/cookbook/form/inherit_data_option`. + +.. caution:: + + When a field has the ``inherit_data`` option set, it uses the data of the + parent form as is. This means that :doc:`Data Transformers ` + won't be applied to that field.