selectAll - Multiselect


Topic: selectAll - Multiselect

Scheen pro premium asked 2 years ago

Hey,

I'm trying to create a simple multi-select without the "Select all" option.

Documentation states that the selectAll option allows to hide this field. However, in my project this option doesn't seem to affect the dropdown list.

Here is a snippet: https://mdbootstrap.com/snippets/standard/scheen/4400395

What am I doing wrong?

Thanks!


Grzegorz Bujański staff answered 2 years ago

Unfortunetly, I can't open your snippet. You Probably forgot to click publish button. You can use data attributes to disable Select all options. I have prepared snippet for you: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/4404034#html-tab-view


Scheen pro premium commented 2 years ago

Hey Grzegorz,

Sorry about the snippet (I didn't know I need to publish it...) Your example fixed my problem. If I'm not mistaken, there is a mistake in the API documentation https://mdbootstrap.com/docs/standard/forms/select/#docsTabsAPI where the option name is spelled "selectAll" instead of "select-all"


andrewjknox answered 2 years ago

Just to follow-up, are you able to fix the documentation as Scheen says above please?

I had this issue but just found this ticket which resolved the issue.


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: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 5.0.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes