Problems with the modal when trying to show the validation errors

What seems to be the problem:
The problem is that when I show the modal and I validate some field such as the name and in the validation I establish that it is required to add the error my modal does not show it.

@error(‘name’) {{ $message }} @enderror

I put that validation out of the modal and it works perfectly.
I have tried with the wire: ignore.self
and it doesn’t show it either
I would appreciate if you could help me