multiselect clicked item checked status


Topic: multiselect clicked item checked status

ASOKUMAR IT asked 2 years ago

Expected behavior In mdb-select-2 with multiple=true, how to get the current clicked item's checked status?

PS: (changed)="valueChanged($event)" from your doc doesn't work. Actual behavior

Resources (screenshots, code snippets etc.)


Arkadiusz Idzikowski staff answered 2 years ago

It looks like there is a typo in the documentation. The correct name of this event is (valueChange). We will update the select API page.


ASOKUMAR IT commented 2 years ago

I tried valueChange but still I get only the value;; I want the status of the clicked item - whether it is checked or unchecked.


ASOKUMAR IT commented 2 years ago

Your document for multi-select is incomplete. Also, why do you have two different events, selected and deselected? both have different return values. It's very confusing when it comes to (deselected) event. When I select only 1 item then deselect doesn't give any value but if I unselect then it returns array of selected and unselected.. why can't it return the clicked item's checked status?


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: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB4 13.0.0
  • Device: Desktop
  • Browser: Firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No