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


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

})


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



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