Code Monkey home page Code Monkey logo

Comments (8)

1075488066 avatar 1075488066 commented on June 9, 2024

你直接把Form.Item设置成noStyle不就行了。

from field-form.

FloaJa avatar FloaJa commented on June 9, 2024

你直接把Form.Item设置成noStyle不就行了。

如果用户手动点击下一步的时候是需要正常校验, 并且在页面显示错误信息的

from field-form.

1075488066 avatar 1075488066 commented on June 9, 2024

你直接把Form.Item设置成noStyle不就行了。

如果用户手动点击下一步的时候是需要正常校验, 并且在页面显示错误信息的

你可以自己控制报错信息通过form.getFieldErrors

from field-form.

FloaJa avatar FloaJa commented on June 9, 2024

你直接把Form.Item设置成noStyle不就行了。

如果用户手动点击下一步的时候是需要正常校验, 并且在页面显示错误信息的

你可以直接控制报错信息啊

我不知道这次校验是由用户触发的, 还是后台逻辑触发的

from field-form.

1075488066 avatar 1075488066 commented on June 9, 2024

用户操作的onValuesChange不是会有回调吗。代码执行的不会触发这个方法。

from field-form.

FloaJa avatar FloaJa commented on June 9, 2024

用户操作的onValuesChange不是会有回调吗。代码执行的不会触发这个方法。

回显或者联动场景, 通过api设置值不会触发onValuesChange, 但是需要发起请求

from field-form.

q269384828 avatar q269384828 commented on June 9, 2024

这个应该有了吧. validateOnly 参数

from field-form.

FloaJa avatar FloaJa commented on June 9, 2024

这个应该有了吧. validateOnly 参数

多谢了才发现, 1.31.0版本支持了, antd-mobile还没有支持到这么新的版本, 不过rcform向下兼容的, 应该可以强行使用

from field-form.

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.