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

Owner fields with a queue can break the styling #32

Open
AndyRouse42 opened this issue Jun 6, 2016 · 1 comment
Open

Owner fields with a queue can break the styling #32

AndyRouse42 opened this issue Jun 6, 2016 · 1 comment

Comments

@AndyRouse42
Copy link

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.

@Avinava
Copy link
Owner

Avinava commented Jun 24, 2016

+1

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

No branches or pull requests

2 participants