Problem with css in form

Good morning, I would like someone with more experience in using livewire to help me, my problem is the following:
When creating a form each field has a css, when I submit the form and validate the fields, if any of them have a problem, the css that they previously had are erased, only until I refresh the page do I reload the css that I had.
I don’t understand why that happens.
I thank you if you can help me

Hey @BryanChaves19,

normally this shouldn’t happen. Can you show us your code please? Without that we can really only guess :wink:

As you can see in the first image, the icons appear

as you can see when displaying the error the icons and the css that it had previously disappear.
This also happens with css animated with javascript

now I show you the code of the view

this is the component code