Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

๐Ÿ›[BUG] Warning: [antd: Form.Item] Form.Item.useStatus should be used under Form.Item component #8950

Open
xinframe opened this issue Dec 31, 2024 · 0 comments

Comments

@xinframe
Copy link

ๆ้—ฎๅ‰ๅ…ˆ็œ‹็œ‹๏ผš

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

๐Ÿ› bug ๆ่ฟฐ

Warning: [antd: Form.Item] Form.Item.useStatus should be used under Form.Item component.
For more information: https://u.ant.design/form-item-usestatus Error Component Stack
at FieldRadio

้—ฎ้ข˜ๆ่ฟฐ

columns ไธญ dataIndex ่ฎพ็ฝฎไธบ status ๆ—ถ่ญฆๅ‘Š

๐Ÿ’ป ๅค็Žฐไปฃ็ 

const columns = [
{
title: '็Šถๆ€',
dataIndex: 'status',
valueType: 'radio',
valueEnum: new Map([
['0', '็ฆ็”จ'],
['1', 'ๅฏ็”จ']
]),
filters: true,
hideInSearch: true,
align: 'center',
},
]
return (

)

ยฉ ็‰ˆๆœฌไฟกๆฏ

  • ProComponents ็‰ˆๆœฌ: "^2.8.2"
  • umi ็‰ˆๆœฌ๏ผš"^4.4.2"
  • ๆต่งˆๅ™จ็Žฏๅขƒ๏ผš edge
  • ๅผ€ๅ‘็Žฏๅขƒ๏ผšwindows 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant