Change field label background color in field editor

  • 1
  • Question
  • Updated 3 years ago
I have the following field render that changes the background color of a field in a field editor. I also need to change the background of the label. Is that possible using a custom renderer?

var field = arguments[0],    value = arguments[1],
    $ = skuid.$;
var PriorityColor = field.row.PriorityColor__c;

   field.element.css({'color': 'white', 'background-color': PriorityColor,'min-height':'10px'});

Photo of Brayden Smith

Brayden Smith

  • 1,270 Points 1k badge 2x thumb

Posted 3 years ago

  • 1

Be the first to post a reply!