Skip to content

Commit

Permalink
fix: added errorMessage prop to the field type
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Apr 20, 2020
1 parent e384fb4 commit f1553d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export interface FieldComposite extends Record<Flag, Ref<boolean>> {
value: Ref<any>;
failedRules: Ref<Record<string, string>>;
errors: Ref<string[]>;
errorMessage: Ref<string | undefined>;
}

export interface FormController {
Expand Down

0 comments on commit f1553d0

Please sign in to comment.