Required field Label turned red in 11.2.6

  • 1
  • Problem
  • Updated 2 years ago
  • In Progress
Skuid version 11.2.6 just installed, and we have a Lightning based theme.

Required fields in a read only field editor are displaying a RED colored field label:

Old behavior is that these would only turn red when in Edit mode (along with the outlined input box.)  Any workaround css until this can be fixed?
Photo of Chandra V

Chandra V, Champion

  • 7,720 Points 5k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 12,990 Points 10k badge 2x thumb
Hi Chandra,

Here is a CSS rule you can try that overrides the CSS that's coming from Lightning's app.css file:

.forceStyle .required{
    font-weight: inherit;

The field labels looks like they're supposed to, if you're not in Lightning, because the base Lightning styles aren't loaded. But in Lightning, some Lightning style rules are coming into the mix, and the color of the text is set to red, and the weight is set to 700 (bold). The strange thing is that those rules don't match what you see in standard Lightning field labels, so it looks to me like there's some unexpected interaction between the different stylesheets.