forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: clarify error about children of Form.Item with
name
(ant-des…
…ign#38038) * Clarify error about children of Form.Item with `name` This is a common error and the message as written was not very clear. This should be more helpful pointing people in the right direction * Update error message in test * Clarify more error messages Referring to "render props" is confusing because the docs don't explain what that is, and it's not really a prop. * Update tests for new error messages Also improve the test names for some * Further test message updates Missed a couple messages * Add short URLs * Update test error messages * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Ell Bradshaw <joelbr@tailormed.co> Co-authored-by: afc163 <afc163@gmail.com>
- Loading branch information
Showing
2 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters