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:
User searches for something and results were found and returned
User selects an option and change event is triggered
User searches for something new and no results were found. All selected options get reset, but change event is NOT triggered.
Implementation for
statusNoResults
scenario was not following same behavior as when results are found. jQuery/bootstrapchange
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:
change
event is triggeredchange
event is NOT triggered.