You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
我想实现一组ArrayCards,要求它们的title为动态且相互独立。formily自己的ArrayCards似乎做不到这一点,于是我想到将antd的Cards组件放在ArrayItems中来实现。
其间我将ArrayItems封装的API按钮(3个)添加进Cards组件的extra属性中,出现了表单被挤掉的问题,似乎原先的表单内容被最后一个按钮替换了。但如果只添加2个以内的按钮,或者把三个按钮打包在一个
<SchemaField.void>
中就不会有问题。我的写法是否有错?这样的需求是否有更好的实现办法?谢谢🙏
Beta Was this translation helpful? Give feedback.
All reactions