Topic: Data attributes for multiselect

Joachim Schneider priority asked 3 years ago


Inside a multiselect I would like to show the "options-selected-label" after 3 selected options. Currently it is showing the label after 6 items selected. Is there a data-attribute like:

data-mdb-max-selected-options="2"

If yes, are there more attributes than described at: https://mdbootstrap.com/docs/standard/forms/select ?


Michał Duszak staff answered 3 years ago


You can use displayedLabels option. Here's a snippet!

https://mdbootstrap.com/snippets/standard/m-duszak/3132036


UNNdev priority answered 3 years ago


displayedLabels described on the API page https://mdbootstrap.com/docs/standard/forms/select/#docsTabsAPI


Michał Duszak staff commented 3 years ago

I love it! Thank you for contribution.



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.7.1
  • Device: Web
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes