Topic: Is there a way to limit the number of options that can be selected?

bbkim0921 free asked 3 years ago


I can't find any function in your library that could limit the number of items that can be selected from multi select.

Expected behavior Only be able to select up to 5 out of 20 Actual behavior

Resources (screenshots, code snippets etc.)


Krzysztof Wilk staff answered 3 years ago


Hi!

We don't have this multiselect feature for now. You can only use data-max-selected-options to set the maximum number of a comma-separated list of options displayed on the Multiselect and data-label-options-selected to define the text that is displayed, when user selects more options that you declared.

Best regards



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: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: Dell XPS
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No