@smartbit4all/ng-client 3.3.150 → 3.3.152
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/esm2020/lib/smart-client/smart-component-api-client.mjs +1 -1
- package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +3 -3
- package/fesm2015/smartbit4all-ng-client.mjs +2 -2
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +2 -2
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +2 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.152.tgz +0 -0
- package/smartbit4all-ng-client-3.3.150.tgz +0 -0
|
@@ -5459,7 +5459,7 @@ class SmartformwidgetComponent {
|
|
|
5459
5459
|
}
|
|
5460
5460
|
if (this.widgetInstance.type === SmartFormWidgetType.TEXT_FIELD &&
|
|
5461
5461
|
this.widgetInstance.selection) {
|
|
5462
|
-
this.filteredOptions = this.onValueChange.pipe(
|
|
5462
|
+
this.filteredOptions = this.onValueChange.pipe(startWith(''), map((value) => this._filter(value || '')), takeUntil(this._destroy$));
|
|
5463
5463
|
}
|
|
5464
5464
|
if (this.widgetInstance.type === SmartFormWidgetType.YOUTUBE_PLAYER) {
|
|
5465
5465
|
let videoId = this.parseYoutubeUrl(this.widgetInstance.link);
|
|
@@ -5472,7 +5472,7 @@ class SmartformwidgetComponent {
|
|
|
5472
5472
|
let formControls = Object.keys(this.form.controls).filter((key) => key === this.widgetInstance.key || key.startsWith(`${this.widgetInstance.key}.`));
|
|
5473
5473
|
formControls.map((key) => {
|
|
5474
5474
|
this.form.controls[key].valueChanges
|
|
5475
|
-
.pipe(takeUntil(this._destroy$)
|
|
5475
|
+
.pipe(distinctUntilChanged(), takeUntil(this._destroy$))
|
|
5476
5476
|
.subscribe((value) => {
|
|
5477
5477
|
const valueChange = {
|
|
5478
5478
|
key,
|