From 2c92f9b7434a912598d8b0b6e9a0995094fdbea5 Mon Sep 17 00:00:00 2001 From: DJWindless Date: Sat, 8 Apr 2017 12:24:06 +0200 Subject: [PATCH] Update submit.rst Add note that some examples are inherited from ButtonType::class --- reference/forms/types/submit.rst | 2 ++ 1 file changed, 2 insertions(+) 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