fix:trim input strings including symbols

This commit is contained in:
hackerESQ
2024-11-06 10:49:12 -06:00
parent fee9cda5ba
commit c3e5d216ab
2 changed files with 4 additions and 0 deletions
@@ -5,9 +5,11 @@ use Illuminate\Support\Collection;
use Livewire\Attributes\Rule;
use Livewire\Volt\Component;
use Mary\Traits\Toast;
use App\Traits\WithTrimStrings;
new class extends Component {
use Toast;
use WithTrimStrings;
// props
public ?Portfolio $portfolio;
@@ -9,9 +9,11 @@ use Livewire\Attributes\{Computed};
use Livewire\Volt\Component;
use Mary\Traits\Toast;
use Illuminate\Validation\Rule;
use App\Traits\WithTrimStrings;
new class extends Component {
use Toast;
use WithTrimStrings;
// props
public ?Portfolio $portfolio;