Type MdbTableDirective is not assignable to type MdbTableSor


Topic: Type MdbTableDirective is not assignable to type MdbTableSortDirective

diegomoreno_2000 pro asked 2 years ago

I have this code:

<table
          class="table datatable-table"
          mdbTable
          mdbTableSort
          #table="mdbTable"
          #sort="mdbTableSort"
          [dataSource]="tiposBaja"
          [pagination]="pagination"
          [sort]="sort"
        >

And I have this error in [sort]="sort"

Type MdbTableDirective is not assignable to type MdbTableSortDirective


Arkadiusz Idzikowski staff commented 2 years ago

Do you use v4.0.0? The code you used looks correct, can you try to restart your code editor? Maybe you used a different configuration before and there is a problem with the cache.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB5 4.0.0
  • Device: Laptop
  • Browser: Chrome, Brave, Opera
  • OS: Windows
  • Provided sample code: No
  • Provided link: No