VisualStrap icon indicating copy to clipboard operation
VisualStrap copied to clipboard

Owner fields with a queue can break the styling

Open AndyRouse42 opened this issue 9 years ago • 1 comments

When using the apex:inputfield tag on an Owner field, the styling can get broken if a queue can own the record:

image

This is because an extra div is brought in to contain the individual elements and this div has the "form-control" class applied.

There is a workaround - Add the following code to your javascript:

$("[id$=mlktp]").hide(); ("[id$=FIELDID_top]").removeClass("form-control"); $("[id$=FIELDID],[id$=FIELDID_lkwgt]").addClass("form-control");

Where "FIELDID" is the id you've assigned to the ownerId field.

AndyRouse42 avatar Jun 06 '16 13:06 AndyRouse42

+1

Avinava avatar Jun 24 '16 12:06 Avinava