@enso-ui/select 3.0.17 → 3.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enso-ui/select",
3
- "version": "3.0.17",
3
+ "version": "3.0.19",
4
4
  "description": "Select",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -150,7 +150,7 @@ export default {
150
150
  return this.searchModes.length > 1;
151
151
  },
152
152
  needsSearch() {
153
- return this.serverSide || this.optionList.length >= this.searchLimit;
153
+ return this.serverSide || this.optionList.length > this.searchLimit;
154
154
  },
155
155
  noResults() {
156
156
  return !!this.query && !this.loading && !this.hasFilteredOptions;
@@ -186,7 +186,9 @@ export default {
186
186
  },
187
187
  options: {
188
188
  handler(options) {
189
- this.optionList = options;
189
+ if (!this.serverSide) {
190
+ this.optionList = options;
191
+ }
190
192
  },
191
193
  deep: true,
192
194
  },