diff --git a/src/Symfony/Component/Form/Button.php b/src/Symfony/Component/Form/Button.php index f12d11afe4..2d7ccd1569 100644 --- a/src/Symfony/Component/Form/Button.php +++ b/src/Symfony/Component/Form/Button.php @@ -321,7 +321,11 @@ class Button implements \IteratorAggregate, FormInterface */ public function isDisabled() { - return $this->config->getDisabled(); + if (null === $this->parent || !$this->parent->isDisabled()) { + return $this->config->getDisabled(); + } + + return true; } /**