@3kles/kles-material-dynamicforms 1.0.8 → 1.0.9

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.
@@ -923,7 +923,8 @@
923
923
  return _this.options$;
924
924
  }
925
925
  })).subscribe(this.optionsFiltered$);
926
- this.group.controls[this.field.name].valueChanges.pipe(operators.takeUntil(this._onDestroy), operators.switchMap(function (selected) {
926
+ this.group.controls[this.field.name]
927
+ .valueChanges.pipe(operators.takeUntil(this._onDestroy), operators.startWith(this.group.controls[this.field.name].value), operators.switchMap(function (selected) {
927
928
  return _this.optionsFiltered$.pipe(operators.map(function (options) {
928
929
  if (!selected) {
929
930
  return false;