allancmello pro asked 5 years ago


This error showing in debug

**Uncaught Error: Template parse errors:

Can't bind to 'options' since it isn't a known property of 'mdb-select'.

  1. If 'mdb-select' is an Angular component and it has 'options' input, then verify that it is part of this module.
  2. If 'mdb-select' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
  3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. (" ][options]="bulkOptionsSelect" placeholder="Bulk actions"> "): ng:///DashboardsModule/AdminClientesComponent.html@9:24**

enter image description here

Whats wrong?


Arkadiusz Idzikowski staff answered 5 years ago


Please make sure that you imported our SelectModule to the module in which you use the component.


allancmello pro commented 5 years ago

Hi Arkadiusz, its work. But is very strager, in ng-admin-Pro sample this SelectModule isnt declared in any module, and mdb-select work! As work? Where´s the magic? |o|


Arkadiusz Idzikowski staff commented 5 years ago

There is a global MDBBootstrapModulesPro import (which contain all MDB modules).



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.4.3
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No