Topic: mdb.Select.getOrCreateInstance is not a function

Fletcher Easton premium asked 1 year ago

Expected behavior When I call mdb.Select.getOrCreateInstance with a select element, I expect either the select element to be created and returned or just returned if already created.

Actual behavior When calling mdb.Select.getOrCreateInstance I get this error in the console: mdb.Select.getOrCreateInstance is not a function. And the select menu is neither created (if it was not already created) nor returned (if already created).

Mateusz Lazaru staff commented 1 year ago

Thank you for reporting this. We will fix this bug soon.

Mateusz Lazaru staff answered 1 year ago


There must be an error in your code. I checked all possible ways of creating or getting instance of a Select, and there is no errors.

Please check my-snippet and let me know if problem still occures. Last example doesnt work and it's fine, because it wasn't ever initialized.

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

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: iMac
  • Browser: Chrome
  • OS: Mac
  • Provided sample code: Yes
  • Provided link: No