ant-design/components/form/__tests__
Ell Bradshaw 5a61762681
chore: clarify error about children of Form.Item with name (#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>
2022-11-07 17:32:58 +08:00
..
__snapshots__ docs: unique id (#38422) 2022-11-07 16:45:16 +08:00
demo-extend.test.ts test: convert demo to testing-lib (#37381) 2022-09-09 15:51:35 +08:00
demo.test.ts test: convert demo to testing-lib (#37381) 2022-09-09 15:51:35 +08:00
image.test.ts test: demo -> ui test (#24475) 2020-10-23 18:50:46 +08:00
index.test.tsx chore: clarify error about children of Form.Item with name (#38038) 2022-11-07 17:32:58 +08:00
list-noStyle.test.tsx chore: merge master 2022-09-28 12:01:20 +08:00
list.test.tsx test: Update form test case (#38143) 2022-10-21 15:06:11 +08:00
ref.test.tsx chore: merge master 2022-09-28 12:01:20 +08:00
type.test.tsx chore: merge master 2022-09-28 12:01:20 +08:00