v2中能否手动指定组件type?
#1263
-
v2能否手动指定哪些组件是VoidField、ArrayField,而不需要通过在schema中指定type。 因为传递给SchemaField的components可能有很多自定义的组件而且数据类型是已知的,如果还需要在schema中指定一下type未免有些麻烦。 |
Beta Was this translation helpful? Give feedback.
Answered by
janryWang
Apr 21, 2021
Replies: 1 comment
-
https://react.formilyjs.org/api/shared/schema#registervoidcomponents |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
janryWang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://react.formilyjs.org/api/shared/schema#registervoidcomponents