mdb-select

kaising asked a year ago

Expected behavior

Actual behavior

Resources (screenshots, code snippets etc.) {{ option.label }} Example label

AND THIS IS COPIED FROM YOUR DOCUMENTATION !!!!

issue in mdb-select app.component.ts:57 ERROR TypeError: Cannot read properties of undefined (reading 'options') at SelectComponent.updateDropdownHeight (ng-uikit-pro-standard.mjs:15203:71) at SelectComponent.ngOnInit (ng-uikit-pro-standard.mjs:15166:14) at callHookInternal (core.mjs:3804:14) at callHook (core.mjs:3831:13) at callHooks (core.mjs:3786:17) at executeInitAndCheckHooks (core.mjs:3736:9) at selectIndexInternal (core.mjs:10415:17) at Module.ɵɵadvance (core.mjs:10398:5) at HomeComponent_div_6_Template (home.component.html:41:58) at ReactiveLViewConsumer.runInContext (core.mjs:10325:13)

ERROR TypeError: Cannot read properties of null (reading 'visibleOptions') at MdbOptionComponent.ngOnInit (ng-uikit-pro-standard.mjs:9982:26) at callHookInternal (core.mjs:3804:14) at callHook (core.mjs:3831:13) at callHooks (core.mjs:3786:17) at executeInitAndCheckHooks (core.mjs:3736:9) at selectIndexInternal (core.mjs:10415:17) at Module.ɵɵadvance (core.mjs:10398:5) at HomeComponent_div_6_mdb_option_43_Template (home.component.html:41:93) at ReactiveLViewConsumer.runInContext (core.mjs:10325:13) at executeTemplate (core.mjs:10864:22)


Arkadiusz Idzikowski staff commented a year ago

Could you please edit your post and provide some more information about the Angular and MDB version that you use in your application and the exact code example that you copied from the documentation?


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 Angular
  • MDB Version: MDB5 5.0.0
  • Device: laptop
  • Browser: chrome
  • OS: win 11
  • Provided sample code: No
  • Provided link: No
Tags