@ngx-formly/core 6.1.7 → 6.2.0

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.
@@ -200,7 +200,7 @@ export interface FormlyFieldProps {
200
200
  }
201
201
  export declare type FormlyHookFn = (field: FormlyFieldConfig) => void;
202
202
  export interface FormlyHookConfig {
203
- onInit?: FormlyHookFn;
203
+ onInit?: FormlyHookFn | ((field: FormlyFieldConfig) => Observable<any>);
204
204
  onChanges?: FormlyHookFn;
205
205
  afterContentInit?: FormlyHookFn;
206
206
  afterViewInit?: FormlyHookFn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngx-formly/core",
3
- "version": "6.1.7",
3
+ "version": "6.2.0",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"