Comments (1)
两种解决方法:
- 不需要升级版本, 增加name即可,这种写法有一种局限,就是只能是单字段,如果render返回多字段就参考方法2
<FormItem label="发起人" name="publisherId" ... >
- 升级到最新版本, 添加onChange API在
FormItem
上
<FormItem name="publisherId" onChange={() => {
// 原本被formitem劫持的onChange这里可以监听到
}}>
<Select options={list} />
</FormItem>
from alist.
Related Issues (20)
- core/form scrollToError not work HOT 1
- Repeater组件的每一行能否增加自定义按钮功能?自定义按钮支持条件显示? HOT 1
- 子组件未渲染完成时,不能获取formItem的name值 HOT 2
- 可否添加错误信息? HOT 1
- repeater 可否支持排序操作 HOT 1
- please correct the url typo HOT 1
- Typescript定义能否完善一些呢noform 和 nowrapper HOT 1
- 嵌套Form验证问题 HOT 1
- Repeater 嵌套 Repeater 时,第二个 repeater 新增按钮,需要点击两次 HOT 2
- 使用React Hooks的问题 HOT 1
- 手册经常打不开 HOT 1
- 列表第一次渲染时,设置selectedRowKeys无效 HOT 4
- How does NoForm implement additional form tips in ANTD, such as :Extra
- 项目文档编写中西文混排时,单词左右要么留一个空格, 要么不留空格,统一下
- can't get all selections when pagination changed HOT 1
- formily2什么时候能支持? HOT 8
- The official website https certificate has expired
- 自定义布局
- @alist/antd @alist/antd-components 能否在package.json 中增加module字段
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 alist.