I am working on a Laravel/Livewire multi-tenant application that has a form with 4 elements on it a name, email, and role with a submit button. The name should be unique to the tenants and the email should be unique to the application. The 2 elements that are doing real time validation are working (sort of) but everytime one of the elements lose focus on the page the error goes away. This behaviour seems off to me. I would expect the error message to stay on all elements that are in error.
Any help appreciated.
Kulmacet
Here is some code from the livewire component page but I’m not sure this is where the problem is
(...)
public function updated()
{
$this->validate([
'name' => new userTenantNameRule,
'email' => 'unique:users',
]);
}
(...)