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: Ability to add a hook for when chips are added

Marvin Herbold priority asked 1 year ago


Currently, there is an event listener for when a chip is added, but would it be possible to get an event listener for before the chip has been added, with a way cancel adding the chip and subsequent events (preventDefault(), etc)?

Either add a new event for when a chip is about to be added, or be able to specify a callback function when newing up a new mdb.chipInput?

We are trying to use chipInputs that only populate after the chip has gone through some sort of validation. Our current implementation is a bit clunky and event handlers or a hook would drastically simplify this.


Kamila Pieńkowska staff answered 1 year ago


Thank you for this idea we will discuss this with our team.



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No