Topic: React "Chip input" handleClose not working
Christian Aichner pro asked 5 years ago
Expected behavior
The MDB React Pro "Chip Input" component should fire an event when using:
<MDBChipsInput handleClose={this.myCloseFunction} />
Actual behavior
No event is fired when closing a chip. (The chip has been visually removed though)
This was tested by using:
// Handle the closing of one of the chips
myCloseFunction = () => {
console.log("Please just be there already.");
}
Resources (screenshots, code snippets etc.)
Konrad Stępień staff answered 5 years ago
Thank you for the founded bug!
We will fix this in the near future.
Best regards.
Christian Aichner pro answered 5 years ago
Hi Konrad!
I just filed two new issues regarding this component in our GitLab.
I hope this issue is being fixed soon, once I require its functionality for an important project.
Best regards, Chris
Konrad Stępień staff answered 5 years ago
I will try to fix the problem for the next release.
Next update is planned for the 02 September and you can follow this changelog.
Kind regards, Konrad.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: 4.19.0
- Device: Desktop
- Browser: Chrome
- OS: Windows 10 Professional
- Provided sample code: No
- Provided link: Yes