diff --git a/reference/forms/types/submit.rst b/reference/forms/types/submit.rst index 0dadc8fa999..1653ac8af45 100644 --- a/reference/forms/types/submit.rst +++ b/reference/forms/types/submit.rst @@ -34,6 +34,8 @@ useful when :doc:`a form has multiple submit buttons `:: Inherited Options ----------------- +Note some examples come from the ButtonType documentation. If you want to use the SubmitType field, you have to use SubmitType::class instead of ButtonType::class to generate a submit button. + .. include:: /reference/forms/types/options/button_attr.rst.inc .. include:: /reference/forms/types/options/button_disabled.rst.inc