Topic: Cannot use material select with both multiple selection and filter enabled

dhananjay.1312 free asked 6 years ago


HiMaterial select component with filter enabled and multiple selection enabled does not work.It throws the error that the filterInput native element is not found. I checked the code and it is not implemented even in the latest version of MDB Angular Pro

Damian Gemza staff commented 6 years ago

Dear dhananjay.1312, That’s the right behavior. You can’t get multiple and filtering, because, in multiple, there’s no search box to find your selects. So when you define [multiple]=”true” and [filterEnabled]=”true”, console throws you an error, that filterInput is not available. That’s the right behavior. Material Select is designed to select from few available options. If your list is more complex, please think about using Autocomplete instead of Select: https://mdbootstrap.com/forms/autocomplete/ Best Regards, Damian


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: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags