@sumaris-net/ngx-components 18.6.19-alpha2 → 18.6.19-alpha3
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.
|
@@ -8185,7 +8185,9 @@ class MatAutocompleteField {
|
|
|
8185
8185
|
}));
|
|
8186
8186
|
// Select input content, on focus or press enter
|
|
8187
8187
|
if (this.selectInputContentOnFocus && !this.mobile && !this.multiple) {
|
|
8188
|
-
this._subscription.add(merge(this.focused.pipe(filter((event) => !event.defaultPrevented)
|
|
8188
|
+
this._subscription.add(merge(this.focused.pipe(filter((event) => !event.defaultPrevented)
|
|
8189
|
+
//tap((event) => event.preventDefault())
|
|
8190
|
+
), this.keyupEnter.pipe(filter(() => isNotNilObject(this.formControl.value))))
|
|
8189
8191
|
.pipe(debounceTime(this.selectInputContentOnFocusDelay))
|
|
8190
8192
|
.subscribe(() => {
|
|
8191
8193
|
if (this.debug)
|