diff --git a/src/models/FieldInterface.ts b/src/models/FieldInterface.ts index 9143f2f0..c7a1bd24 100644 --- a/src/models/FieldInterface.ts +++ b/src/models/FieldInterface.ts @@ -81,6 +81,7 @@ export interface FieldInterface extends BaseInterface { disposeValidationOnBlur(): void; disposeValidationOnChange(): void; initMOBXEvent(type: string): void; + bind(props?: any): any; } export interface FieldConstructor { diff --git a/tests/data/forms/nested/form.e2.ts b/tests/data/forms/nested/form.e2.ts index cfdd9b01..b76a33a2 100755 --- a/tests/data/forms/nested/form.e2.ts +++ b/tests/data/forms/nested/form.e2.ts @@ -71,7 +71,7 @@ export default new Form({ }, { plugins, options, - name: "Nested-Z1", + name: "Nested-E2", hooks: { onInit(form: FormInterface) { describe("Check ajv validation flag", () => { diff --git a/tests/data/forms/nested/form.z2.ts b/tests/data/forms/nested/form.z2.ts index eba9e4c1..d42678d1 100644 --- a/tests/data/forms/nested/form.z2.ts +++ b/tests/data/forms/nested/form.z2.ts @@ -50,7 +50,7 @@ export default new Form({ }, { plugins, options, - name: "Nested-Z1", + name: "Nested-Z2", hooks: { onInit(form: FormInterface) { describe("Check zod validation flag", () => {