Initial commit

This commit is contained in:
Ronald Huynen
2026-03-23 21:37:59 +01:00
commit 2547717edb
2193 changed files with 972171 additions and 0 deletions

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');
}
}