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
Expected / Desired Behavior / Question
When a user is picked I run some custom validation on the user. If the user is invalid an error message should show.
If this user is cleared and another user is selected where the user passes the validation then the error message should be cleared.
Observed Behavior
PeoplePicker uses errorMessage to display an error (if a user does not pass some validation logic).
Error message variable is passed to PeoplePicker as a prop.
If user is invalid error message is shown.
If this user is removed and another added which is a valid user then the errorMessage should clear but it does not.
4.1 I can see that my prop for errorMessage contains the correct value "".
4.2 But I can see that the PeoplePicker contains a state value for errorMessage from the previous selected user.
Please see react component of peoplepicker
thanks,
Gary
The text was updated successfully, but these errors were encountered:
This issue does not appear to be resolved. I'm using version 3.0 and have even downgraded to 2.6 and I'm seeing the same behavior descripted in this issue
Category
[x ] Bug
Version
2.0.0
Expected / Desired Behavior / Question
When a user is picked I run some custom validation on the user. If the user is invalid an error message should show.
If this user is cleared and another user is selected where the user passes the validation then the error message should be cleared.
Observed Behavior
4.1 I can see that my prop for errorMessage contains the correct value "".
4.2 But I can see that the PeoplePicker contains a state value for errorMessage from the previous selected user.
Please see react component of peoplepicker
thanks,
Gary
The text was updated successfully, but these errors were encountered: