Topic: Hot to change the form-label on pill inputs
                  
                  NeoXP
                  free
                  asked 2 years ago
                
*_Expected behavior_* I want to change the form-label of the chip example now it says: Examble Label
The javascript same as The Doc
Thanks for the help
*_Resources (screenshots, code snippets etc.)_*div class="chips-test chips-initial">
                      
                      Mateusz Lazaru
                      staff
                        answered 2 years ago
                    
Your code should work. What happens when you try to use it?
https://mdbootstrap.com/snippets/standard/mlazaru/4757855#js-tab-view
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
 - Premium support: No
 - Technology: MDB Standard
 - MDB Version: MDB5 6.0.1
 - Device: Any
 - Browser: Chrome
 - OS: Windows
 - Provided sample code: No
 - Provided link: No
 
NeoXP free commented 2 years ago
I tried this: const newChipsNew = new mdb.ChipsInput(chipsInitialNew, { initialValues: [ { tag: 'Düsseldorf' }, { tag: 'Krefeld' }, { tag: 'Mönchengladbach' }, { tag: 'Willich' }, { tag: 'Neuss' } ], labelText: "New Label Text",
})