Topic: Chips Added by Comma Separator

JTH free asked 1 year ago


Hello,

Is there a way to enter multiple chip inputs by using a comma (or any other quotation) tactic?

Currently, a user has to press enter after every input. In our example, this is not practical as a user wants to bring a list to convert into chips from a spreadsheet. Currently, when they copy-paste into the chips-placeholder it just creates one long chip.

I'm using a simple div for the input.

<div
            id="titles"
            class="chips chips-placeholder" </div>

Mateusz Lazaru staff answered 1 year ago


Hi,

For now, the only option to add multiple chips is a initialValues option, but it doesn't work after component's initialization.

If you think that such an option would improve MDB, feel free to add feature request.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 6.1.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Windwos
  • Provided sample code: No
  • Provided link: No
Tags