Chip Initializes with duplicated field and default init valu


Topic: Chip Initializes with duplicated field and default init values

schauttech pro premium priority asked 2 years ago

I'm having a problem where the chip input is defaulted with init values and the input field is duplicated. I was able to verify this issue with the snippet creator.

*Expected behavior*No duplicated input fields and no initial values.

*Actual behavior*Duplicated input fields and initial values displayed.

Resources (screenshots, code snippets etc.)https://mdbootstrap.com/snippets/standard/schauttech/4377132#html-tab-view

enter image description here


mlazaru staff answered 2 years ago

Chips can be initialized via HTML data-attributes or javascript code. You initialized them using both. Thats the reason, why it's doubled.

To solve this problem simply delete JS code.


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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 5.0.0
  • Device: Dell
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes