Comments (8)
因为vue是双向绑定,直接通过model.xxx
就可以动态获取对应项的当前值了。你是刚从react antd 那边转过来吗?建议你去看 Ant Design Vue 都不用提供 getFieldsvalue
方法。
from element-plus.
因为vue是双向绑定,直接通过
model.xxx
就可以动态获取对应项的当前值了。你是刚从react antd 那边转过来吗?建议你去看 Ant Design Vue 都不用提供getFieldsvalue
方法。
不是哦 表单有10种动态展示,也就是说每一种都有字段差异,而我每次拿到都是10种的集合,不能每次拿到当前集合吗?注意的是:这个表单有30多个字段,每一种都有差异,例如:第一种可能只有15个字段展示,第二种可能有23个字段展示,第三种,有22个字段展示等等,为何每次拿到的是30个字段?
from element-plus.
因为vue是双向绑定,直接通过
model.xxx
就可以动态获取对应项的当前值了。你是刚从react antd 那边转过来吗?建议你去看 Ant Design Vue 都不用提供getFieldsvalue
方法。
antd vue 它可以通过finish拿到values
from element-plus.
抱歉是我看错了,你是想通过类似getFieldsvalue
的手段获取当前所有注册了的表单项的值。后续可以考虑添加对应api,同时也欢迎你来贡献!
from element-plus.
抱歉是我看错了,你是想通过类似
getFieldsvalue
的手段获取当前所有注册了的表单项的值。后续可以考虑添加对应api,同时也欢迎你来贡献!
是我表达的问题,哈哈哈。有机会一定来贡献 codes
from element-plus.
+1 希望提供一个能够拿到表单所有的对象值,用于表单直接提交。而不是一个一个取值
from element-plus.
fixed by #16755
from element-plus.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。
from element-plus.
Related Issues (20)
- [Style] [radio-group] el-radio-group 选项不自动换行,溢出父级宽度区域 HOT 4
- [Component] [message-box] 自动导入下ElMessageBox显示异常,必须import 'element-plus/dist/index.css'才正常显示 HOT 3
- [Style] [tour] Tour组件,屏幕缩放设置为150%时,蒙层宽高未占满页面
- [Component] [date-picker] DatePicker format动态修改无效 HOT 3
- [Component] Dialog组件,使用ScrollBar组件包裹Form 组件设置label-position='top',Form下包含 Row,设置 gutter后,Dialog出现横向滚动条 HOT 1
- [Build] [table] 在chrome71上 数据不能被正常解构 HOT 3
- [Component] [autocomplete] autocomplete closes automatically when clicking on a custom element inside the popup HOT 1
- [Component] el-select-v2 在开发环境下选中后面的选项之后会返回到顶部第一个 HOT 2
- [Component] [upload] Upload component, tip on close cover file name
- [Component] [popover] dropdown里的popover在关闭时出现闪屏的现象 HOT 4
- [Component] [drawer] el-drawer 设置 class不生效 HOT 1
- [Component] [popover] [Component] [el-selection] The selection with option in a popover make popover close immediately HOT 1
- [Component] [table] How to make the columns of the child table affected by the sorting of the parent table when the child table is expanded.
- [Component] el-dropdown 在定位场景下,消失时会闪屏 HOT 1
- [Component] [select] remote El-select with option value object does not show correctly No-Data element HOT 2
- [Performance] [drawer] el-drawer动画卡顿,帧数低
- [i18n] [message-box] ElMessageBox.confirm 提示框默认提供的按钮文本不能国际化的问题 HOT 1
- [Style] [progress] el-progress在Safari浏览器上的进度不准确 HOT 2
- [Docs] Missing search result for `FormInstance` HOT 1
- [Component] element dropdown change background but the arrow not change as well !
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from element-plus.