Skip to content

Commit

Permalink
Merge pull request #111 from OccTherapist/AddCreateOptionModalHeading…
Browse files Browse the repository at this point in the history
…MethodToSelectTree

Add CreateOptionModalHeading Method to SelectTree
  • Loading branch information
CodeWithDennis authored May 17, 2024
2 parents 2d1dc0d + 7a29c05 commit 94b0892
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/SelectTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,4 +584,11 @@ public function getCreateOptionAction(): ?Action

return $action;
}

public function createOptionModalHeading(string | Closure | null $heading): static
{
$this->createOptionModalHeading = $heading;

return $this;
}
}

0 comments on commit 94b0892

Please sign in to comment.