Skip to content

Commit

Permalink
Button: is omitted from values [Closes #330]
Browse files Browse the repository at this point in the history
  • Loading branch information
mildabre authored and dg committed Aug 5, 2024
1 parent b8d45e8 commit e615350
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/Forms/Controls/Button.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}


Expand Down
1 change: 0 additions & 1 deletion src/Forms/Controls/SubmitButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public function __construct(string|Stringable|null $caption = null)
{
parent::__construct($caption);
$this->control->type = 'submit';
$this->setOmitted();
}


Expand Down

0 comments on commit e615350

Please sign in to comment.