Topic: Hot to change the form-label on pill inputs
NeoXP free asked 1 year 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 1 year 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 1 year 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",
})