@salesforcedevs/dx-components 0.10.1-alpha.103 → 0.10.1-alpha.104
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
|
@@ -153,9 +153,12 @@ export default class SidebarSearch extends LightningElement {
|
|
|
153
153
|
if (!this.isValueEmpty) {
|
|
154
154
|
this.dispatchHighlightedTermChange();
|
|
155
155
|
}
|
|
156
|
-
|
|
157
|
-
if (!this.preloadedState) {
|
|
158
|
-
|
|
156
|
+
|
|
157
|
+
if (!this.preloadedState && !this.isValueEmpty) {
|
|
158
|
+
this.submitSearch();
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
if (!this.preloadedState && this.isValueEmpty) {
|
|
159
162
|
this.dispatchOnLoading(false);
|
|
160
163
|
}
|
|
161
164
|
};
|
|
@@ -324,6 +327,10 @@ export default class SidebarSearch extends LightningElement {
|
|
|
324
327
|
private onInputChange(e: CustomEvent) {
|
|
325
328
|
this.value = e.detail;
|
|
326
329
|
|
|
330
|
+
if (!this.isValueEmpty) {
|
|
331
|
+
this.dispatchOnLoading(true);
|
|
332
|
+
}
|
|
333
|
+
|
|
327
334
|
if (this.searchBox && !this.isValueEmpty) {
|
|
328
335
|
this.submitSearch();
|
|
329
336
|
}
|