BigW Consortium Gitlab

Commit 3e336475 by Phil Hughes

Stopped multiple requests with dropdowns

Opening the user dropdown currently sends 2 requests. This has been changed so only one is sent Closes #24131
parent cfcf5460
......@@ -249,7 +249,7 @@
_this.fullData = data;
_this.parseData(_this.fullData);
_this.focusTextInput();
if (_this.options.filterable && _this.filter && _this.filter.input) {
if (_this.options.filterable && _this.filter && _this.filter.input && _this.filter.input.val().trim() !== '') {
return _this.filter.input.trigger('input');
}
};
......
---
title: Fixed multiple requests sent when opening dropdowns
merge_request:
author:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment