Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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">


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",

})


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



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • 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
Tags