fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

BasePickerListBelow throwing SuggestionsItem errors

Open gabrielruss opened this issue 9 years ago • 0 comments

Bug Report

  • Package version(s): 2.27.0
  • Browser and OS versions: Chrome 60.0.3091.0

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? Not smart enough yet :)

Requested priority: Normal

Products/sites affected: SharePoint classic page

Describe the issue:

When trying to implement a BasePickerListBelow component pulling data from a list, I am getting the following error:

Uncaught (in promise) Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of SuggestionsItem.

It seems to throw the errors when reaching the BasePicker.prototype.updateValue function on the _this.resolveNewValue line.

Actual behavior:

Instead of populating the list of returned items, it continually spins and throws the error stated above.

image

Expected behavior:

Populate the list with returned values

If applicable, please provide a codepen repro:

Codepen

gabrielruss avatar May 09 '17 00:05 gabrielruss