@sumaris-net/ngx-components 18.3.1 → 18.3.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.
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +6 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +5 -2
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/manifest.json +1 -1
- package/src/theme/_ngx-components.forms.scss +4 -4
|
@@ -8047,7 +8047,7 @@ class MatAutocompleteField {
|
|
|
8047
8047
|
}
|
|
8048
8048
|
}
|
|
8049
8049
|
this._implicitValue = null; // reset the implicit value
|
|
8050
|
-
this.closePanel(); //
|
|
8050
|
+
this.closePanel(); // Close panel
|
|
8051
8051
|
// Invalidate loaded items (mark as loading should force next focus to reload items)
|
|
8052
8052
|
if (invalidateFilteredItems) {
|
|
8053
8053
|
this._selectedItem = null;
|
|
@@ -8078,7 +8078,10 @@ class MatAutocompleteField {
|
|
|
8078
8078
|
// Select input content, on focus or press enter
|
|
8079
8079
|
if (this.selectInputContentOnFocus && !this.mobile && !this.multiple) {
|
|
8080
8080
|
this._subscription.add(merge(this.focused.pipe(filter((event) => !event.defaultPrevented), tap$1((event) => event.preventDefault())), this.keyupEnter.pipe(filter(() => isNotNilObject(this.formControl.value))))
|
|
8081
|
-
.pipe(debounceTime(this.selectInputContentOnFocusDelay)
|
|
8081
|
+
.pipe(debounceTime(this.selectInputContentOnFocusDelay)
|
|
8082
|
+
// TODO: filter Only if still focused - See sumaris issue on double panel opened
|
|
8083
|
+
//filter()
|
|
8084
|
+
)
|
|
8082
8085
|
.subscribe(() => {
|
|
8083
8086
|
if (this.debug)
|
|
8084
8087
|
console.debug(this.logPrefix + ' Selecting input content (focused)');
|