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(Forms): transparent background color on validation error #765

Closed
wants to merge 8 commits into from

Conversation

Haythamasalama
Copy link
Contributor

πŸ”— Linked issue

Resolves #719

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)

πŸ“š Description

When validating the form, the color for input, select, and other elements works well and displays the correct color passed through the color prop. However, after validation, the color changes to red, which is normal due to the useFormGroup composable.

The background color for the red color is transparent, so we made changes to fix that in order to get the background color that was passed by the prop.

πŸ“ Checklist

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

@vercel
Copy link

vercel bot commented Sep 29, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
ui βœ… Ready (Inspect) Visit Preview Oct 12, 2023 10:03am

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@benjamincanac
I added this to enable you to test cases. Once you're finished, we will remove it.

@benjamincanac
Copy link
Member

Closing this in favor of this solution: #719 (comment)

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.

Transparent background color on validation error
2 participants