Topic: Chips Added by Comma Separator
                  
                  JTH
                  priority
                  asked 2 years 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 2 years 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: 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