GithubHelp home page GithubHelp logo

Comments (4)

gogoyqj avatar gogoyqj commented on April 19, 2024

最好也能支持 local设置

from alist.

quirkyshop avatar quirkyshop commented on April 19, 2024

@gogoyqj 配置的使用和https://github.com/yiminghe/async-validator 完全一致

国际化的话,通过message传入国际化的变量来实现

from alist.

gogoyqj avatar gogoyqj commented on April 19, 2024

我看了源码,好像没办法对于内置的比如 { required: true } - 这种默认提示进行修改,如果不做点猥琐的事情,就只有手写 message 了

from alist.

quirkyshop avatar quirkyshop commented on April 19, 2024

@gogoyqj 是的,由于校验现在是直接引入第三方的校验库,后期也会做成可插拔,所以不打算对校验框架做太多定制(猥琐)的事情,手写message也可以接受,如果不是有实时切换多语言的需求的话。先关闭啦~

from alist.

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.