Topic: Chips initial value always load default

arigoldy pro asked 2 years ago


Expected behavior Chips field should initiate with chip initial value Actual behavior Duplicate of chips field And put init1 and init2 as default everytime Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/arigoldy/3679432#js-tab-view


Marcin Luczak staff answered 2 years ago


Hi,

Relating to the initial value documentation, when using Chips with initial values you should not add the chips-placeholder class. Also, your initial value is not set as you are using jQuery for your example but you did not load jQuery in the snippets, thus your code can't be reached.

Keep coding, Marcin



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: Pro
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: All
  • Browser: moz
  • OS: wwin
  • Provided sample code: No
  • Provided link: Yes
Tags