Topic: mdb.Select.getOrCreateInstance is not a function

Fletcher Easton pro asked 1 month 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).


mlazaru staff commented 1 month ago

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


mlazaru staff answered 1 month ago


Hi!

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.

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: Pro
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: iMac
  • Browser: Chrome
  • OS: Mac
  • Provided sample code: No
  • Provided link: No