Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 8, 2021
1 parent 259fb0b commit c0389c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/Form.php
Expand Up @@ -422,7 +422,7 @@ public function fireEvents(): void
$this->validate();
}

if ($this->submittedBy instanceof SubmitterControl) {
if ($this->submittedBy instanceof Controls\SubmitButton) {
if ($this->isValid()) {
$this->invokeHandlers($this->submittedBy->onClick, $this->submittedBy);
} else {
Expand Down

0 comments on commit c0389c9

Please sign in to comment.