Skip to content

Commit 7a29c05

Browse files
committed
Add CreateOptionModalHeading Method to SelectTree
1 parent 2d1dc0d commit 7a29c05

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/SelectTree.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,4 +584,11 @@ public function getCreateOptionAction(): ?Action
584584

585585
return $action;
586586
}
587+
588+
public function createOptionModalHeading(string | Closure | null $heading): static
589+
{
590+
$this->createOptionModalHeading = $heading;
591+
592+
return $this;
593+
}
587594
}

0 commit comments

Comments
 (0)