ant-design/components/form
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
..
__tests__ chore: clarify error about children of Form.Item with name (#38038) 2022-11-07 17:32:58 +08:00
demo docs: unique id (#38422) 2022-11-07 16:45:16 +08:00
FormItem chore: clarify error about children of Form.Item with name (#38038) 2022-11-07 17:32:58 +08:00
hooks chore: prefer using @internal annotation over other markups (#37816) 2022-09-30 14:26:41 +08:00
style fix: Form vertical with span row (#36800) 2022-07-30 21:00:00 +08:00
changelog.md feat: New Form (#17327) 2019-07-03 20:14:39 +08:00
context.tsx fix: Form.Item noStyle should not be affected by parent Form.Item (#35849) 2022-06-06 23:39:00 +08:00
ErrorList.tsx feat: Input fields in error are missing multiple ARIA attributes (#36762) 2022-08-24 17:07:50 +08:00
Form.tsx chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
FormItemInput.tsx chore: prefer using @internal annotation over other markups (#37816) 2022-09-30 14:26:41 +08:00
FormItemLabel.tsx chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
FormList.tsx chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
index.en-US.md docs: fix useWatch type error (#37013) 2022-08-12 18:06:26 +08:00
index.tsx chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
index.zh-CN.md docs: add doc (#38345) 2022-11-02 17:50:50 +08:00
interface.ts chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
util.ts chore: use includes instead indexOf (#38139) 2022-10-21 11:45:55 +08:00
v3.en-US.md docs: fix errors in example code (#28677) 2021-01-04 18:43:59 +08:00
v3.zh-CN.md docs: fix errors in example code (#28677) 2021-01-04 18:43:59 +08:00