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


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

mohammad shahid asked 5 years ago

Failed to compile.

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


Piotr Glejzer staff commented 5 years ago

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


tns answered 5 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.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

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
Tags