Skip to content

Commit 50314d7

Browse files
Kanupriya1511Kanupriya ThakurMnickii
authored
Fix: removed noResultsFound error for no user input (#3431)
Co-authored-by: Kanupriya Thakur <[email protected]> Co-authored-by: Nickii Miaro <[email protected]>
1 parent 26694da commit 50314d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mgt-components/src/components/mgt-people-picker/mgt-people-picker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ export class MgtPeoplePicker extends MgtTemplatedTaskComponent {
835835
* @memberof MgtPeoplePicker
836836
*/
837837
protected renderNoData(): TemplateResult {
838-
if (!this._isFocused) {
838+
if (!this._isFocused || this.userInput.trim().length === 0) {
839839
return;
840840
}
841841
return (

0 commit comments

Comments
 (0)