Page 1 of 1

Error When using Dropdown or Panel Components

Posted: 04 Mar 2021, 20:32
by cbroad
Hi,

I have installed PrimeReact, I can get certain components like Card/Text input working but when I try to use things like Dropdown or Panel I get the below error:

Unhandled Rejection (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, or you might have mixed up default and named imports.

Check the render method of `DropdownPanelComponent`.[/code][/code]

Does anyone have any idea what I can do to resolve this please?

-

Posted: 02 Apr 2021, 23:18
by LauraUsaks
I have a problem when I try to build for release. It works ok for debug.
It seems libtdcore can not be built due to some definitions on td_config.h

Dind screeenshot below:
The attachment releaseBuildError.jpg is no longer available

Re: Error When using Dropdown or Panel Components

Posted: 06 May 2021, 23:42
by mert.sincan
Interesting! Could you please try the latest PrimeReact version?

Best Regards,