当前位置:网站首页>【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>
边栏推荐
- Alibaba cloud award winning experience: build a highly available system with polardb-x
- Scrapy 框架学习
- Detailed explanation of Fisher information quantity detection countermeasure sample code
- C語言宿舍管理查詢軟件
- Oracle was named the champion of Digital Innovation Award by Ventana research
- 三星量产3纳米产品引台媒关注:能否短期提高投入产出率是与台积电竞争关键
- Web知识补充
- A data person understands and deepens the domain model
- Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
- Doctoral application | West Lake University Learning and reasoning system laboratory recruits postdoctoral / doctoral / research internship, etc
猜你喜欢

Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example

上汽大通MAXUS正式发布全新品牌“MIFA”,旗舰产品MIFA 9正式亮相!
![[AI system frontier dynamics, issue 40] Hinton: my deep learning career and research mind method; Google refutes rumors and gives up tensorflow; The apotheosis framework is officially open source](/img/2c/b1d6277c1b23a6a77f90d5b2874759.png)
[AI system frontier dynamics, issue 40] Hinton: my deep learning career and research mind method; Google refutes rumors and gives up tensorflow; The apotheosis framework is officially open source

N++ is not reliable

Interview disassembly: how to check the soaring usage of CPU after the system goes online?

ASP.NET Core入门一

CVPR 2022 | transfusion: Lidar camera fusion for 3D target detection with transformer

When MDK uses precompiler in header file, ifdef is invalid

2022kdd pre lecture | 11 first-class scholars take you to unlock excellent papers in advance

Five "potential errors" in embedded programming
随机推荐
Alibaba cloud award winning experience: build a highly available system with polardb-x
Service Mesh的基本模式
DGraph: 大规模动态图数据集
Using nsproxy to forward messages
Iptables foundation and Samba configuration examples
After the game starts, you will be prompted to install HMS core. Click Cancel, and you will not be prompted to install HMS core again (initialization failure returns 907135003)
Redis - how to install redis and configuration (how to quickly install redis on ubuntu18.04 and centos7.6 Linux systems)
Animation and transition effects
近日小结(非技术文)
动画与过渡效果
In 2022, it will be es2022 soon. Do you only know the new features of ES6?
以房抵债能否排除强制执行
Byte interview algorithm question
Comparative study of the gods in the twilight Era
30:第三章:开发通行证服务:13:开发【更改/完善用户信息,接口】;(使用***BO类承接参数,并使用了参数校验)
CA: efficient coordinate attention mechanism for mobile terminals | CVPR 2021
C language programming topic reference
美国土安全部长:国内暴力极端主义是目前美面临的最大恐怖主义威胁之一
Getting started with microservices
如何在 2022 年为 Web 应用程序选择技术堆栈