Code Monkey home page Code Monkey logo

antd's Introduction

formily antd repository

English | 简体中文

PRs Welcome


Overview

The Awesome Components Library with Formily & Ant Design.

Features

  • 🖼 Designable, You can quickly develop forms at low cost through Form Builder.
  • 🚀 High performance, fields managed independently, rather rerender the whole tree.
  • 💡 Integrated Alibaba Fusion and Ant Design components are guaranteed to work out of the box.
  • 🎨 JSON Schema applied for BackEnd. JSchema applied for FrontEnd. Two paradigms can be converted to each other.
  • 🏅 Side effects are managed independently, making form data linkages easier than ever before.
  • 🌯 Override most complicated form layout use cases.

Form Builder

https://designable-antd.formilyjs.org/

WebSite

https://antd5.formilyjs.org

Community

How to contribute?

Contributors

This project exists thanks to all the people who contribute.

LICENSE

Formily is open source software licensed as MIT.

antd's People

Contributors

yiyunwan avatar github-actions[bot] avatar yee94 avatar over58 avatar faner11 avatar charlzyx avatar jackychen02 avatar jymsy avatar stephenpcg avatar csc-bo avatar ifblooms avatar lvisei avatar xiaochong444 avatar xiongpi avatar dayuy avatar fisher-zh avatar jgchenu avatar tangjj1996 avatar chongqiangchen avatar

Stargazers

 avatar  avatar  avatar Dogtiti avatar Dark avatar xiaofl avatar  avatar xuanye wong avatar Twice-cooked / 回锅肉 avatar NewYear avatar Hannah Jensen avatar  avatar  avatar millerye1995 avatar  avatar 墨舟 avatar jiachengcoder avatar Nguyễn Thạc Cường avatar  avatar  avatar Rin avatar Hung Hoang avatar  avatar San Hanityo avatar Zeke Zhang avatar afc163 avatar Melih Acikgoz avatar 克里の小跟班 avatar  avatar  avatar leeho avatar coolbob avatar Daniel Liu avatar liqing avatar kaoding avatar liuwei avatar chengaofeng avatar dengyc avatar aikin avatar odinlin avatar  avatar 奋斗的码农 avatar Janry avatar

Watchers

 avatar

antd's Issues

Form 的 labelWrap 没有生效

根据文档说明,labelWraptrue 时,标签换行,但实际并没有换行,总是会显示省略号并通过 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的upload的功能:当上传照片数到达限制后,上传按钮消失。

{props.children || getPlaceholder(props)}

这里的 getPlaceholder(props) 默认children能否去掉,来保留原antd功能:upload在上传照片数量达到上限后,上传按钮自动消失(https://ant.design/components/upload-cn

<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>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.