Snapshot of main at 9f39a6e1e (2026-11-02)

This commit is contained in:
Ronald Huynen committed 2026-11-02 10:41:47 +01:00
commit 6ccf1792d7
2580 files changed
+1040202

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
<?php
namespace App\Http\Livewire;
use Livewire\Component;
class Description extends Component
{
public $description;
public $requiredError = false;
protected $listeners = ['resetForm'];
/**
* Extra check if field is empty on blur textarea
*
* @return void
*/
public function checkRequired()
{
$this->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');
}
}