You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I configure people picker in single selection mode, but I have a need to manually clear the people-picker's selected person through JavaScript on modal open. So I reset selectedPeople property with an empty array. By doing this, it clears the selected person, but the search input textbox remains in disabled state. User will not be able to enter new search term.
Steps to reproduce the behavior:
Configure a people picker field in a modal form
Trigger to open the modal, then select a user from the people picker
Close the modal
Reopen the modal
Notice the people picker input textbox is disabled
The text was updated successfully, but these errors were encountered:
@sebastienlevert the input will become disabled when a single selection is made if the component has selection-mode="single" as it doesn't make sense to allow users to try and search to add another selection once one has been added.
I configure people picker in single selection mode, but I have a need to manually clear the people-picker's selected person through JavaScript on modal open. So I reset selectedPeople property with an empty array. By doing this, it clears the selected person, but the search input textbox remains in disabled state. User will not be able to enter new search term.
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: