Skip to content

Commit f76ef0b

Browse files
author
zyliang96
committed
fix: add name when setError no fieldsMeta
1 parent d6e026b commit f76ef0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ class Field {
434434
} else {
435435
this.fieldsMeta[name] = {
436436
errors: err,
437+
name,
437438
};
438439
}
439440

0 commit comments

Comments
 (0)