Update field state from alpine
Is there a way of setting the wire state from alpine?
E.g here the state remains the one step behind the last letter is capital.
I know I can do all this easily with
formatStateUsing
but I need it to be instantSolution:Jump to solution
Cheers yeah that work
```php
->extraAlpineAttributes(fn (Forms\Components\TextInput $component): array => [
'x-on:keyup' => <<<JS
$event.target.value = $event.target.value.toLowerCase();...
2 Replies