ant-design/ant-design-mobile

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

Chiusa

#6767 aperta il 27 ott 2024

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (2313 fork)batch import
help wanted

Metriche repository

Star
 (11.238 stelle)
Metriche merge PR
 (Merge medio 7h 11m) (8 PR mergiate in 30 g)

Descrizione

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

Guida contributor