Zhao pro asked 6 years ago


I would like to add a limit for chips, as default is infinite. Is any option for this?
 $('.keywords').materialChip({
placeholder: 'Add keyword',
secondaryPlaceholder: 'Add keyword',
limit: 1
});

This doesn't work.

Jakub Strebeyko staff answered 6 years ago


Hi there Zhao, Chips input component does not offer this functionality as of the time being. Thanks for bringing this up! I am noting it down as a suggestion to the dev team. Best, Kuba

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: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.10
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags