public function render() { return $this->actionButton === true ? HtmlBuilder::textWithActions($this->name, $this->label, $this->getValueFromForm(), $this->getOptions($this->attributes), $this->actions) : HtmlBuilder::text($this->name, $this->label, $this->getValueFromForm(), $this->getOptions($this->attributes)); }