@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
|
@@ -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
|
|
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.
|
|
189
|
+
if (!this.serverSide) {
|
|
190
|
+
this.optionList = options;
|
|
191
|
+
}
|
|
190
192
|
},
|
|
191
193
|
deep: true,
|
|
192
194
|
},
|