当前位置:网站首页>【Antd】Antd 如何在 Form.Item 中有 Input.Gourp 时获取 Input.Gourp 的每一个 Input 的value
【Antd】Antd 如何在 Form.Item 中有 Input.Gourp 时获取 Input.Gourp 的每一个 Input 的value
2022-07-04 12:48:00 【似酒龙井】
【Antd】Antd 如何在 Form.Item 中有 Input.Gourp 时获取 Input.Gourp 的每一个 Input 的value
我的方法是在 Input.Gourp 中再嵌套一个 Form.Item
也就是在每个 Input.Gourp 中的 Input 外层再包裹一个 Form.Item,通过这第二个 Form.Item 的 name 属性获取 Input 的 value
</Form.Item>
<Form.Item label="Y主轴取值范围">
<Input.Group compact>
<Form.Item name="YMainAxisRangeMin">
<Input
addonBefore=""
style={
{
width: 100, textAlign: 'center' }}
placeholder="Minimum"
/>
</Form.Item>
<Input
className="site-input-split"
style={
{
width: 30,
borderLeft: 0,
borderRight: 0,
pointerEvents: 'none',
}}
placeholder="~"
disabled
/>
<Form.Item name="YMainAxisRangeMax">
<Input
className="site-input-right"
style={
{
width: 100,
textAlign: 'center',
}}
placeholder="Maximum"
/>
</Form.Item>
</Input.Group>
</Form.Item>
边栏推荐
- 2022危险化学品经营单位主要负责人练习题及模拟考试
- Rsyslog configuration and use tutorial
- CTF competition problem solution STM32 reverse introduction
- C语言职工管理系统
- C language staff management system
- FS4056 800mA充电ic 国产快充电源ic
- Using nsproxy to forward messages
- The old-fashioned synchronized lock optimization will make it clear to you at once!
- C language programming topic reference
- Animation and transition effects
猜你喜欢
Comparative study of the gods in the twilight Era
Source code compilation and installation of MySQL
7 月数据库排行榜:MongoDB 和 Oracle 分数下降最多
2022kdd pre lecture | 11 first-class scholars take you to unlock excellent papers in advance
Oracle 被 Ventana Research 评为数字创新奖总冠军
Annual comprehensive analysis of China's mobile reading market in 2022
30:第三章:开发通行证服务:13:开发【更改/完善用户信息,接口】;(使用***BO类承接参数,并使用了参数校验)
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
N++ is not reliable
博士申请 | 西湖大学学习与推理系统实验室招收博后/博士/研究实习等
随机推荐
Node の MongoDB安装
Introduction to XML II
Samsung's mass production of 3nm products has attracted the attention of Taiwan media: whether it can improve the input-output rate in the short term is the key to compete with TSMC
C语言宿舍管理查询软件
Byte interview algorithm question
C#基础补充
基于链表管理的单片机轮询程序框架
安装trinity、解决报错
忠诚协议是否具有法律效力
js中的变量提升和函数提升
以房抵债能否排除强制执行
Three schemes to improve the efficiency of MySQL deep paging query
C foundation in-depth study I
Fs4056 800mA charging IC domestic fast charging power IC
JVM series - stack and heap, method area day1-2
DGraph: 大规模动态图数据集
上汽大通MAXUS正式发布全新品牌“MIFA”,旗舰产品MIFA 9正式亮相!
2022kdd pre lecture | 11 first-class scholars take you to unlock excellent papers in advance
字节面试算法题
嵌入式编程中五个必探的“潜在错误”