wireui / wireui

TallStack UI components
https://v1.wireui.dev
MIT License
1.38k stars 166 forks source link

Inline Error Message persists in Combination w/ Livewire #886

Open smnmsr opened 3 weeks ago

smnmsr commented 3 weeks ago

Describe the bug When using WireUI in combination with Livewire, I'm encountering problems with the inline validation message. Whenever the Validation error is resolved, the corresponding input correctly is reformatted to an error free state. However, the validation error message persists.

To Reproduce Steps to reproduce the behavior:

  1. Go to this site
  2. Enter some invalid email address in the field E-Mail (e.g. "john@doe.")
  3. See the inline validation message "Bitte gib eine gültige E-Mail-Adresse ein." and the field being formatted red
  4. Enter a valid email address instead (e.g. "john@doe.com")
  5. See the field being reformatted to normal but the message persisting.

Expected behavior As soon as the validation error is resolved, the validation error message should disappear.

Dependencies