Topic: MDB Multi Select Manual Reset All Button Issue ( multiple mdb-select-2 with filter )

learnovate priority asked 2 years ago


Expected behavior

Angular Component - Version 9.3.1

We are implementing mdb-select-2 [multiple]="true" and [allowClear]="true" with Filters. works perfectly well but the issue is that we have 3-4 Filter options for a search screen each using mdb-select-2 [multiple]="true" and [allowClear]="true". We like to add Reset All button that will clear all applied selected items at one go but when we clear Form Control Value,it should reset Top Selected Items to blank and Select All and Each Options List Check Boxes to be deselected . It's unfair to ask end users to click Clear Reset Button in every component to start fresh search again

Actual behavior

When Reset All button is clicked and when we reset Form Control Value,it did reset Top Selected Items to blank but it doid not reset Select All and Each Options List Check Boxes that are selected already

**Is there any event that we can call to simulate the click of Reset Button ??

Screen Shot of the Issue


learnovate priority answered 2 years ago


Implemented the new feature already with MDB Pro Ang V 10 and works fine.


idanbarak free answered 2 years ago


@Arkadiusz Idzikowski there is a new update about this feature?


Arkadiusz Idzikowski staff commented 2 years ago

We added a fix for the form control reset in version 9.4.0. Do you still have any problem with this functionality?


learnovate priority commented 2 years ago

Thanks. It works fine now


Arkadiusz Idzikowski staff answered 2 years ago


It is currently not possible, but we have already been informed about this problem and we plan to add more features that will help to clear the component values in the near future.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 9.3.1
  • Device: Desktop / Laptop
  • Browser: Google Chrome and Firefox
  • OS: Windows 10 / Mac
  • Provided sample code: No
  • Provided link: No