AnsweredAssumed Answered

Clear People Picker that is Disabled by rule

Question asked by donald.mcnally on Jul 11, 2017
Latest reply on Aug 8, 2017 by juku

I have a PeoplePicker control that I have disabled by rule because I am populating it via jQuery based on a selection in a drop down list.  I am using the NF.peoplePickerApi to set the value, which works fine.  However, if I change the value of the drop down list, the field does not clear and I get more than one name in the field which causes an error.  If the field is NOT disabled, the code works properly but I need the field disabled so it isn't modified manually by a user.

 

Is it by design that the clear method doesn't work if the field is read only?  Is there another way to clear the field?

Outcomes