Code Monkey home page Code Monkey logo

element-plus's Introduction

English | 简体中文

PRs Welcome


Overview

The Awesome Components Library with Formily & Element Plus.

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://element-plus.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.

element-plus's People

Contributors

axolo avatar cn-xufei avatar frehaiku avatar github-actions[bot] avatar lobozai avatar mewcoder avatar nigiwen avatar qq1037305420 avatar sillyhuman avatar sorrowx avatar uxuip avatar w-xuefeng avatar wukd avatar xuanhen2013 avatar yikoyu avatar yiyunwan avatar zhaowei-plus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

element-plus's Issues

[Bug Report] @formilyjs/element-plus 1.0.0-beta.1版本无法使用

Reproduction link
Steps to reproduce
"dependencies": {
"@formily/core": "^2.0.19",
"@formily/element-plus": "^1.0.0-beta.1",
"@formily/vue": "^2.0.19",
"element-plus": "^2.0.1",
"sass": "^1.50.1",
"sass-loader": "^12.6.0",
"vue": "^3.2.25"
},
"devDependencies": {
"@vitejs/plugin-vue": "^2.3.1",
"vite": "^2.7.13"
}

运行 element-plus/packages/components/docs/demos/guide/input/json-schema.vue
input不能输入。

运行 element-plus/packages/components/docs/demos/guide/input-number/json-schema.vue
+、-按钮点击后,不能正确增减数字

运行 element-plus/packages/components/docs/demos/guide/form-item/json-schema.vue
不能显示input

What is expected?
如何解决?

What is actually happening?
不能显示或不能使用。

Package
@formily/[email protected]

Failed to resolve import "element-plus/es/components/default/style/css.js"

=============================package.json=============================
"dependencies": {
"@formily/core": "^2.3.0",
"@formily/element-plus": "^1.1.0-beta.0",
"@formily/vue": "^2.3.0",
"element-plus": "^2.4.2",
"moment": "^2.29.4",
"sass": "^1.32.11",
"sass-loader": "^8.0.2",
"vue": "^3.3.4"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"sass": "^1.49.9",
"unplugin-auto-import": "^0.16.7",
"unplugin-vue-components": "^0.25.2",
"vite": "^4.4.0",
"vite-plugin-imp": "^2.4.0"
}

=============================vite.config.js=============================
vitePluginImp({
libList: [
{
libName: '@formily/element-plus',
libDirectory: 'esm',
replaceOldImport : false,
style(name) {
return @formily/element-plus/esm/${name}/style.js
},
},
],
}),

=============================package.json=============================
import 'element-plus/theme-chalk/src/base.scss'

=============================启动访问报错=============================

[vite] Internal server error: Failed to resolve import "element-plus/es/components/default/style/css.js" from "src/main.js". Does the file exist?
Plugin: vite:import-analysis
File: /Users/xxx/Desktop/bpmn-vue3-custom/src/main.js:1:9
1 | import 'element-plus/es/components/default/style/css.js';;i

Radio 样式丢失

"@formily/element-plus": "^1.1.0-beta.0",
"element-plus": "^2.2.29",

对比发现,element-plus 的 Radio 调整了标签结构

array-cards组件报错

PATH: packages/components/src/array-cards/index.ts
问题描述:
在 45行, 51行,53行,定义的userField变量,重复调用了value,判断应该是在53行调用ArrayField的数据源字段,dataSource
const dataSource = Array.isArray(field.value) ? field.value : [] 》》》
const dataSource = Array.isArray(field.dataSource ) ? field.dataSource : []

[Bug Report] Upload组件重置后未被清空

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

官网代码,vue3+element-plus,替换自己上传url,上传成功后点击Reset按钮重置,界面上Upload图片还在。查看vue-devtool发现form的值已经被重置清空,

但ElUploadList
组件中files值并没有被删除,

What is expected?

重置后upload组件filelist也被清空,页面上不再显示图片

What is actually happening?

上传成功后点击Reset按钮重置,界面上Upload图片还在

Package

@formily/[email protected]


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.