自定义控件有没有办法使用 formily 的组件? #2053
Unanswered
Zhang-theSenile
asked this question in
Q&A [2.x]
Replies: 1 comment 10 replies
-
https://github.com/alibaba/formily/blob/formily_next/designable/setters/src/components/ValidatorSetter/index.tsx 这个组件就是使用了ArrayItems |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我想做一个自定义控件(提供 value、onChange接口的组件),想在其内使用 ArrayCard、ArrayItems 之类的 formily 组件,有办法实现吗?
看「实现自定义组件」文档提到的「Hooks API」、「connect/mapProps/mapReadPretty API」也没有相关链接和示例。
看源码则因水平时间有限深感成本过高😅
Beta Was this translation helpful? Give feedback.
All reactions