Disable mouse hover on disabled People picker

  • 25 November 2016
  • 2 replies
  • 4 views

Badge +6

Hey guys,

I seem to be experiencing something strange with a people picker control:

If I disable a panel using NWF$('.form2 *').prop('disabled'true);

and that panel contains a people picker, then the control is disabled correctly BUT the mouse hover still works (which is acceptable).

The problem is, however, even though the popup is rendered correctly, it does not close and remains attached to the mouse cursor!

196049_pastedImage_1.png

The easiest solution should be to just disable the mouse hover programmatically in the people picker, either only on the disabled people pickers, or on ALL people pickers in general! (this is also an acceptable solution).

I tried to use .unbind('mouseenter mouseleave'), but with no success... Any ideas?


2 replies

Badge

Ya, I faced this same problem.

But we decide to change the People control to a Label control (then use Insert Item property reference) to avoid this issue. 

Badge +8

Refer my solution in   

Reply