formilyjs / antd Goto Github PK
View Code? Open in Web Editor NEWFormily Ant Design Adaptor
License: MIT License
Formily Ant Design Adaptor
License: MIT License
根据文档说明,labelWrap
为 true
时,标签换行,但实际并没有换行,总是会显示省略号并通过 tooltip 来显示。
复现链接:文档中的例子就没有生效。文档地址:https://antd5.formilyjs.org/zh-CN/components/form-item#%E5%B8%B8%E7%94%A8%E5%B1%9E%E6%80%A7%E6%A1%88%E4%BE%8B 常用属性案例 -> 固定宽度设置 中,固定label宽度(labelWidth)换行换行... 这个 FormItem,源码中设置了 labelWrap
,但实际没有换行。
简单检索了一下代码,labelWrap
仅仅添加了 ant-formily-item-label-wrap
这个 className,但并没有找到相应的 css 属性,是否这个功能还没有开发?
antd/packages/components/src/upload/index.tsx
Line 182 in 90556ab
<AntdUpload {...useUploadProps(props)}>
{props.children || getPlaceholder(props)}
</AntdUpload>
原antd此功能:
<Upload
action="https://www.mocky.io/v2/5cc8019d300000980a055e76"
listType="picture-card"
fileList={fileList}
onPreview={handlePreview}
onChange={handleChange}
>
{fileList.length >= 8 ? null : uploadButton}
</Upload>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.