Ajax-Bootstrap-Select icon indicating copy to clipboard operation
Ajax-Bootstrap-Select copied to clipboard

Trigger refresh when there aren't any results

Open engin-can opened this issue 4 years ago • 0 comments

Implementation for statusNoResults scenario was not following same behavior as when results are found. jQuery/bootstrap change event didn't get triggered when no results were found, while it did get triggered when results were found, which is inconsistent. (see point 3)

This change solves the following:

  1. User searches for something and results were found and returned
  2. User selects an option and change event is triggered
  3. User searches for something new and no results were found. All selected options get reset, but change event is NOT triggered.

engin-can avatar May 09 '20 06:05 engin-can