Realtime field validation.
How can I have realtime validation> I am trying with the following with no success.
->afterStateUpdated(function ($livewire) {
$livewire->validateOnly('data.public_key');
})
Solution:Jump to solution
```php
Textarea::make('public_key')
->label(__('Public Key'))
->maxLength(255)
->rows(10)...
4 Replies
Seems to be missing context here - what state is being updated to fire that ?
Solution
Worked perfectly. I really appreciate it.