diff --git a/src/Forms/Controls/Button.php b/src/Forms/Controls/Button.php index 021bbcc7..53bee8e5 100644 --- a/src/Forms/Controls/Button.php +++ b/src/Forms/Controls/Button.php @@ -23,6 +23,7 @@ public function __construct(string|Stringable|null $caption = null) parent::__construct($caption); $this->control->type = 'button'; $this->setOption('type', 'button'); + $this->setOmitted(true); }