Skip to content

Commit

Permalink
docs: update useField() signature to match implementation (#3950)
Browse files Browse the repository at this point in the history
  • Loading branch information
curtgrimes authored Oct 9, 2022
1 parent c4c014c commit dbceb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/api/use-field.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export interface ValidationOptions {

function useField<TValue = unknown>(
fieldName: MaybeRef<string>,
rules: RuleExpression,
rules?: MaybeRef<RuleExpression>,
opts?: FieldOptions
): {
name: MaybeRef<string>; // The field name
Expand Down

0 comments on commit dbceb6d

Please sign in to comment.