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

fix: input variant background #1908

Closed
wants to merge 2 commits into from

Conversation

maximepvrt
Copy link
Contributor

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This Merge Request addresses an issue where the background color of an input field becomes transparent when it transitions to an error state. The expected behavior is for the input field to retain a white background color.

Capture d’écran 2024-06-24 aΜ€ 15 37 19

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@maximepvrt
Copy link
Contributor Author

@maximepvrt
Copy link
Contributor Author

Same bug on your saas template example : https://saas-template.nuxt.dev/signup

Capture d’écran 2024-06-25 aΜ€ 13 56 45

@maximepvrt
Copy link
Contributor Author

@romhml @noook What do you think ?

@noook
Copy link
Collaborator

noook commented Jul 1, 2024

That makes sense to me

@benjamincanac
Copy link
Member

This is unfortunately not possible to fix in this version because of how the variants are designed. If you specify a gray color then get an error it will become white with your change. I've just merged a PR on ui3 that address this: benjamincanac#141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants