Topic: Chips Added by Comma Separator
JTH priority asked 1 month ago
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>
mlazaru staff answered 1 month ago
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.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.1.0
- Device: Desktop
- Browser: Chrome
- OS: Windwos
- Provided sample code: No
- Provided link: No