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

FI-3097: Maintain checkbox label colors on error #537

Merged
merged 6 commits into from
Nov 14, 2024

Conversation

AlyssaWang
Copy link
Collaborator

Summary

Fixes bug where input label colors were also being applied to child labels, specifically in checkbox elements:

Before:
Screenshot 2024-10-04 at 1 07 07 PM

After:
Screenshot 2024-10-04 at 1 06 30 PM

Testing Guidance

Open up the input dialog for a required checkbox input (as in the Demo group). Deselect all inputs -- the main label should turn red but the checkbox labels should stay gray/black. Clicking into a different input should maintain these colors.

@AlyssaWang AlyssaWang requested review from arscan and mrnosal October 4, 2024 17:10
Copy link

codecov bot commented Oct 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.06%. Comparing base (fa037f1) to head (89c7cdb).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #537   +/-   ##
=======================================
  Coverage   84.06%   84.06%           
=======================================
  Files         262      262           
  Lines       11410    11410           
  Branches     1254     1254           
=======================================
  Hits         9592     9592           
  Misses       1808     1808           
  Partials       10       10           
Flag Coverage Δ
backend 92.19% <ø> (ø)
frontend 79.33% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@mrnosal mrnosal left a comment

Choose a reason for hiding this comment

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

CSS updates for direct descendant labels work

@AlyssaWang AlyssaWang merged commit 17fd170 into main Nov 14, 2024
10 checks passed
@AlyssaWang AlyssaWang deleted the FI-3097-checkbox-color branch November 14, 2024 01:29
@Shaumik-Ashraf Shaumik-Ashraf mentioned this pull request Nov 25, 2024
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.

2 participants