@ngx-formly/core 5.10.32 → 5.10.33

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.
@@ -2157,6 +2157,24 @@
2157
2157
  this.to.blur(this.field, $event);
2158
2158
  }
2159
2159
  };
2160
+ // handle custom `change` event, for regular ones rely on DOM listener
2161
+ // handle custom `change` event, for regular ones rely on DOM listener
2162
+ /**
2163
+ * @param {?} $event
2164
+ * @return {?}
2165
+ */
2166
+ FormlyAttributes.prototype.onHostChange =
2167
+ // handle custom `change` event, for regular ones rely on DOM listener
2168
+ /**
2169
+ * @param {?} $event
2170
+ * @return {?}
2171
+ */
2172
+ function ($event) {
2173
+ if ($event instanceof Event) {
2174
+ return;
2175
+ }
2176
+ this.onChange($event);
2177
+ };
2160
2178
  /**
2161
2179
  * @param {?} $event
2162
2180
  * @return {?}
@@ -2242,6 +2260,9 @@
2242
2260
  FormlyAttributes.decorators = [
2243
2261
  { type: i0.Directive, args: [{
2244
2262
  selector: '[formlyAttributes]',
2263
+ host: {
2264
+ '(change)': 'onHostChange($event)',
2265
+ },
2245
2266
  },] }
2246
2267
  ];
2247
2268
  /** @nocollapse */