必填项的样式对其Antd
#3643
Replies: 2 comments
-
改一下FormItem的这个renderLabelText是不是就可以了? https://github.com/alibaba/formily/blob/formily_next/packages/antd/src/form-item/index.tsx#L225 |
Beta Was this translation helpful? Give feedback.
0 replies
-
哈喽大佬 请问下后来怎么解决了。感觉antd-v5和antd不同步这块确实是个隐患,是否有方案可以共用一套呢 |
Beta Was this translation helpful? Give feedback.
0 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.
-
如下图所示,希望能在FormLayout中加入该项requiredMark配置,支持这种新的选填项样式。目前我们设计师都是按照Antd的设计规范在做,这个地方看了下目前除了改formily源码否则很难通过其他手段定制,望考虑支持下谢谢
https://4x-ant-design.antgroup.com/components/form-cn/#components-form-demo-required-mark
Beta Was this translation helpful? Give feedback.
All reactions