Skip to content

Commit

Permalink
Merge pull request #7726 from marmelab/doc-fix-async-validation
Browse files Browse the repository at this point in the history
Doc: Fix Async Validation per Input example
  • Loading branch information
djhi committed May 23, 2022
2 parents cc4fcbe + 9d04a04 commit b1c1236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const emailValidators = [required(), validateEmailUnicity];

export const UserCreate = () => (
<Create>
<SimpleForm validate={validateUserCreation}>
<SimpleForm>
...
<TextInput label="Email" source="email" validate={emailValidators} />
...
Expand Down

0 comments on commit b1c1236

Please sign in to comment.