dispatch('description', $this->description); if ($this->description === null || '') { $this->requiredError = true; } } public function resetForm() { $this->description = null; } public function updated() { $this->dispatch('description', $this->description); } public function render() { return view('livewire.description'); } }