callback = $callback; } public function render() { if ($this->callback instanceof Closure) { $this->value = $this->callback->call($this->getFormModel(), $this->value()); } return parent::render(); } }