Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FormGroup] Error state does not get updated immediately #252

Closed
schmidfelix opened this issue Jun 2, 2023 · 0 comments
Closed

[FormGroup] Error state does not get updated immediately #252

schmidfelix opened this issue Jun 2, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@schmidfelix
Copy link

Version

@nuxthq/ui: 2.2.1
nuxt: 3.5.2

Reproduction Link

https://stackblitz.com/edit/nuxtlabs-ui-ee4i6p?file=app.vue

Steps to reproduce

  • Open the Stackblitz link
  • Important: Leave the field empty
  • Click "Add Error" -> The error message appears, but the field does not get a red border
  • Type something in the field -> The red border appears
  • Click "Remove error" -> The error message disappears but the red border stays
  • Update the fields value -> The red border disappears as well

What is Expected?

The red border should appear/disappear synchronously with the error message

What is actually happening?

The red border only appears/disappears after updating the inputs value

@schmidfelix schmidfelix added the bug Something isn't working label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant