@arbaiv
Posted
Hi, Ariane π. Amazing work. Once you submit the form with the input fields empty, it shows an error as expected π. Then when you enter text into the input field and focus out from it, the error message still shows. And it doesn't go away until you hit the submit button again. It's okay, not a big deal, but it's not good for the UX.
You can improve that by adding a blur event to the input element that will check: if the input value is available then remove the error message.
Marked as helpful
@Ariane-Brum
Posted
@arbaiv Thank you for your feedback :). I made some adjustments.