@adins/ucsearch 3.0.2 → 3.0.3
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.
|
@@ -392,7 +392,7 @@ class UCSearchComponent {
|
|
|
392
392
|
}
|
|
393
393
|
async initiateForm() {
|
|
394
394
|
if (this.searchInput.dataInput !== undefined) {
|
|
395
|
-
this.setConfigurationData(this.searchInput.dataInput);
|
|
395
|
+
this.setConfigurationData({ ...this.searchInput.dataInput });
|
|
396
396
|
return;
|
|
397
397
|
}
|
|
398
398
|
await this.getJSON(this.searchInput._url).subscribe(data => {
|
|
@@ -408,7 +408,7 @@ class UCSearchComponent {
|
|
|
408
408
|
}
|
|
409
409
|
this.countForm = data.component.length;
|
|
410
410
|
this.isDataLoaded = true;
|
|
411
|
-
if (this.searchInput.title != undefined && this.searchInput.title != "") {
|
|
411
|
+
if (this.searchInput.title != undefined && this.searchInput.title != "" && this.searchInput.dataInput === undefined) {
|
|
412
412
|
this.configuration.title = this.searchInput.title;
|
|
413
413
|
}
|
|
414
414
|
for (let i = 0; i < this.countForm; i++) {
|