Code Monkey home page Code Monkey logo

Comments (8)

Fuphoenixes avatar Fuphoenixes commented on June 26, 2024

因为vue是双向绑定,直接通过model.xxx就可以动态获取对应项的当前值了。你是刚从react antd 那边转过来吗?建议你去看 Ant Design Vue 都不用提供 getFieldsvalue 方法。

from element-plus.

sanmuw avatar sanmuw commented on June 26, 2024

因为vue是双向绑定,直接通过model.xxx就可以动态获取对应项的当前值了。你是刚从react antd 那边转过来吗?建议你去看 Ant Design Vue 都不用提供 getFieldsvalue 方法。

不是哦 表单有10种动态展示,也就是说每一种都有字段差异,而我每次拿到都是10种的集合,不能每次拿到当前集合吗?注意的是:这个表单有30多个字段,每一种都有差异,例如:第一种可能只有15个字段展示,第二种可能有23个字段展示,第三种,有22个字段展示等等,为何每次拿到的是30个字段?

from element-plus.

sanmuw avatar sanmuw commented on June 26, 2024

因为vue是双向绑定,直接通过model.xxx就可以动态获取对应项的当前值了。你是刚从react antd 那边转过来吗?建议你去看 Ant Design Vue 都不用提供 getFieldsvalue 方法。

antd vue 它可以通过finish拿到values

from element-plus.

Fuphoenixes avatar Fuphoenixes commented on June 26, 2024

抱歉是我看错了,你是想通过类似getFieldsvalue的手段获取当前所有注册了的表单项的值。后续可以考虑添加对应api,同时也欢迎你来贡献!

from element-plus.

sanmuw avatar sanmuw commented on June 26, 2024

抱歉是我看错了,你是想通过类似getFieldsvalue的手段获取当前所有注册了的表单项的值。后续可以考虑添加对应api,同时也欢迎你来贡献!
是我表达的问题,哈哈哈。有机会一定来贡献 codes

from element-plus.

xylplm avatar xylplm commented on June 26, 2024

+1 希望提供一个能够拿到表单所有的对象值,用于表单直接提交。而不是一个一个取值

from element-plus.

FrontEndDog avatar FrontEndDog commented on June 26, 2024

fixed by #16755

from element-plus.

github-actions avatar github-actions commented on June 26, 2024

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)

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.