@enso-ui/select 3.0.18 → 3.0.20

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.18",
3
+ "version": "3.0.20",
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;
@@ -391,7 +391,7 @@ export default {
391
391
  return params;
392
392
  },
393
393
  requestValue() {
394
- if (!this.objects) {
394
+ if (!this.objects || this.modelValue === null) {
395
395
  return this.modelValue;
396
396
  }
397
397