Topic: Clean Filters with Select dropdownlist

neocheck premium asked 1 day ago


I am developing a filter view where some filters are dropdown lists. When selecting an option and then clearing the filters, the previously selected option remains. The issue is that I cannot clear it with my filter-clearing function because the component is created and destroyed in the DOM when the dropdown list is expanded and collapsed. Is there any method or function to clear the selected options in the dropdown?



Please add a snippet with a working example as it is hard to understand your use case based solely on short description.



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: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.2.0
  • Device: Notebook
  • Browser: Google Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No