Skip to content

Commit

Permalink
Fix delete field
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian24 committed Nov 5, 2023
1 parent d55f8c8 commit 0e5dc38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/form-core/src/tests/FieldApi.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -611,5 +611,7 @@ describe('field api', () => {
// Field should have been removed from the form as well
expect(form.state.values.name).toBeUndefined()
expect(form.state.fieldMeta.name).toBeUndefined()
expect(form.store.state.values.name).toBeUndefined()
expect(form.store.state.fieldMeta.name).toBeUndefined()
})
})

0 comments on commit 0e5dc38

Please sign in to comment.