AnsweredAssumed Answered

SugarCRM 7.5.0.1 show/hide dynamically messes up pencil icon

Question asked by Francesca Shiekh on Dec 24, 2014
Latest reply on Jan 6, 2015 by newbie (^_^)
When I show/hide fields in code the "edit pencil" gets messed up and overlaps the field label.
I am using simple:
 
                $('[data-name="case_descriptor_c"]').hide();
               

$('[data-name="case_descriptor_c"]').show();

But this is what I see when the field shows, and this is without hovering on the label.


I suspect it's because the "show" is also showing the pencil icon which should only appear when I hover on the label. In fact when I hover it corrects itself and shows properly smaller and on the left of the label.

So the question is: how do I show/hide the field and its label but not mess up the pencil?

thanks,

FrancescaS

Outcomes