src/Lego/Widget/Concerns/HasBottomButtons.php
public function submitText(string $submitText)
    {
        /** @var Button $btn */
        $btn = $this->getButton($this->bottomLocation, $this->submitButtonKey);
        $btn->text($submitText);

        return $this;
    }
public function submitText(string $submitText)
    {
        /** @var Button $btn */
        $btn = $this->getButton($this->bottomLocation, $this->submitButtonKey);
        $btn->text($submitText);

        return $this;
    }
public function submitText ( string $ submitText ) { /** @var Button $btn */ $ btn = $ this -> getButton ( $ this -> bottomLocation , $ this -> submitButtonKey ) ; $ btn -> text ( $ submitText ) ; return $ this ; }
Set submit button text.

@param string $submitText

@return $this
Set submit button text .