Topic: Hot to change the form-label on pill inputs
NeoXP
priority
asked 1 month 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">
mlazaru
staff
answered 4 weeks 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
- User: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.0.1
- Device: Any
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No
NeoXP priority commented 1 month 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",
})