ant-design/ant-design-mobile

Add useChildren to Align Behavior Between Ant Design and Ant Design Mobile

Open

#6,767 建立於 2024年10月27日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (2,313 fork)batch import
help wanted

倉庫指標

Star
 (11,238 star)
PR 合併指標
 (平均合併 7小時 11分鐘) (30 天內合併 8 個 PR)

描述

Version of antd-mobile

5.37.1

Description

In antd form, useChildren is used when children is an array with a single formItem. However, in antd mobile, this is treated as an exceptional case and results in an error. Could the behavior in antd mobile be aligned with that of antd?

antd mobile form image

antd form image

貢獻者指南