Skip to content

Commit

Permalink
Merge pull request #4651 from WiXSL/fix-docs-vaalidators-def
Browse files Browse the repository at this point in the history
Clarify tip about declaring form validators.
  • Loading branch information
djhi committed Apr 7, 2020
2 parents 1159d53 + 63424a5 commit 12f017d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/CreateEdit.md
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ export default {
See the [Translation documentation](Translation.md#translation-messages) for details.
**Tip**: Make sure to define validation functions or array of functions in a variable, instead of defining them directly in JSX. This can result in a new function or array at every render, and trigger infinite rerender.
**Tip**: Make sure to define validation functions or array of functions in a variable outside of your component, instead of defining them directly in JSX. This can result in a new function or array at every render, and trigger infinite rerender.
{% raw %}
```jsx
Expand Down

0 comments on commit 12f017d

Please sign in to comment.