Topic: The pro version of Select is not working properly in my code

mohammad shahid free asked 3 years ago

Failed to compile.

./src/components/Checkout.jsx Attempted import error: 'MDBSelect' is not exported from 'mdbreact'.

Piotr Glejzer staff commented 3 years ago

can you update to the latest version? Thanks. Have a nice day.

tns free answered 3 years ago

Hi, i have same issue here, my console log:

Warning: React.createElement: 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.

In VS Code imports are linked correctly, but app crashed, if I want call MDBSelect component. We have used free version before, but there is no MDBSelect component.

I tried datepicker also and same result.

Piotr Glejzer staff commented 3 years ago


may you check this related topics?

You probably imported or exported incorrectly.


Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.19.1
  • Device: Macbook
  • Browser: Chrome
  • OS: IOS
  • Provided sample code: No
  • Provided link: No