GithubHelp home page GithubHelp logo

Comments (11)

janryWang avatar janryWang commented on May 5, 2024

是的,使用registerFormField自己注册

from formily.

yaoguoba avatar yaoguoba commented on May 5, 2024

有例子吗?我想使用Textarea不知道怎么弄

from formily.

yinxuan1128 avatar yinxuan1128 commented on May 5, 2024

我用registerFormField注册了,只是显示的缺省提示是英文,locale应该怎么设置啊?

from formily.

yaoguoba avatar yaoguoba commented on May 5, 2024

发出来给我个参考啊,谢谢

from formily.

yinxuan1128 avatar yinxuan1128 commented on May 5, 2024

registerFormField('area', connect()((props) => {
return <Input.TextArea value={props.value} rows={props.rows} onChange={e => props.onChange(e.target.value)} />
}));示例里有啊

from formily.

yinxuan1128 avatar yinxuan1128 commented on May 5, 2024

@janryWang 请问SchemaForm里的locale怎么设置啊?

from formily.

janryWang avatar janryWang commented on May 5, 2024

@janryWang 请问SchemaForm里的locale怎么设置啊?

您是想设置哪个组件的locale呢

from formily.

yinxuan1128 avatar yinxuan1128 commented on May 5, 2024

我现在注册的组件cascader,包括现在示例里的select daterange 似乎都是英文的,schemaform和field里面都有locale 但是该怎么设置呢?文档有很多还是不够详细的地方

from formily.

yaoguoba avatar yaoguoba commented on May 5, 2024

registerFormField('area', connect()((props) => {
return <Input.TextArea value={props.value} rows={props.rows} onChange={e => props.onChange(e.target.value)} />
}));示例里有啊

谢谢哈,我没找到示例

from formily.

janryWang avatar janryWang commented on May 5, 2024

我现在注册的组件cascader,包括现在示例里的select daterange 似乎都是英文的,schemaform和field里面都有locale 但是该怎么设置呢?文档有很多还是不够详细的地方

感谢反馈,locale这部分的文档缺失,我们会尽快加上

from formily.

janryWang avatar janryWang commented on May 5, 2024

already fixed.

from formily.

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.