@dsivd/prestations-ng 18.3.2-beta.3 → 18.3.2
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/CHANGELOG.md
CHANGED
|
@@ -33,6 +33,11 @@
|
|
|
33
33
|
- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
|
|
34
34
|
- added a global progress bar to manage pending files upload
|
|
35
35
|
|
|
36
|
+
### Fixed
|
|
37
|
+
|
|
38
|
+
- [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
|
|
39
|
+
- When component input `isSuggestionListDynamic` is set to `true`, no filter on suggestions is added because elements list is being retrieved dynamically while user inputs in search field.
|
|
40
|
+
|
|
36
41
|
## [18.3.1]
|
|
37
42
|
|
|
38
43
|
### Added
|
|
Binary file
|
|
@@ -8721,7 +8721,9 @@ class FoehnAutocompleteComponent extends FoehnCheckableGroupComponent {
|
|
|
8721
8721
|
}
|
|
8722
8722
|
}
|
|
8723
8723
|
else {
|
|
8724
|
-
this.setSuggestionsDisplayed(hideSuggestions, this.
|
|
8724
|
+
this.setSuggestionsDisplayed(hideSuggestions, this.isSuggestionListDynamic
|
|
8725
|
+
? this.elements
|
|
8726
|
+
: this.elements.filter((e) => this.matchResult(e)));
|
|
8725
8727
|
}
|
|
8726
8728
|
}
|
|
8727
8729
|
getSuggestionLabel(element) {
|
|
@@ -8810,7 +8812,8 @@ class FoehnAutocompleteComponent extends FoehnCheckableGroupComponent {
|
|
|
8810
8812
|
.pipe(first())
|
|
8811
8813
|
// eslint-disable-next-line rxjs-angular/prefer-async-pipe
|
|
8812
8814
|
.subscribe(() => {
|
|
8813
|
-
this.setSuggestionsDisplayed(false, this.elements
|
|
8815
|
+
this.setSuggestionsDisplayed(false, this.elements // no filter here because list is being retrieved dynamically while user inputs in search field
|
|
8816
|
+
);
|
|
8814
8817
|
});
|
|
8815
8818
|
}
|
|
8816
8819
|
}
|