Skip to content

Commit

Permalink
fix: added missing bind method to field interface
Browse files Browse the repository at this point in the history
  • Loading branch information
foxhound87 committed Dec 20, 2023
1 parent fab755a commit 4a3b242
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/models/FieldInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export interface FieldInterface extends BaseInterface {
disposeValidationOnBlur(): void;
disposeValidationOnChange(): void;
initMOBXEvent(type: string): void;
bind(props?: any): any;
}

export interface FieldConstructor {
Expand Down
2 changes: 1 addition & 1 deletion tests/data/forms/nested/form.e2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/data/forms/nested/form.z2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down

0 comments on commit 4a3b242

Please sign in to comment.