当前位置:网站首页>【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>
边栏推荐
- 程序员转方向
- .Net之延迟队列
- 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)
- Read the BGP agreement in 6 minutes.
- JVM系列——栈与堆、方法区day1-2
- XML入门三
- C语言中学生成绩管理系统
- E-week finance | Q1 the number of active people in the insurance industry was 86.8867 million, and the licenses of 19 Payment institutions were cancelled
- 8 expansion sub packages! Recbole launches 2.0!
- 【R语言数据科学】:交叉验证再回首
猜你喜欢
MySQL 45 lecture - learn the actual combat notes of MySQL in Geek time 45 lecture - 06 | global lock and table lock_ Why are there so many obstacles in adding a field to the table
三星量产3纳米产品引台媒关注:能否短期提高投入产出率是与台积电竞争关键
Interviewer: what is the internal implementation of hash data type in redis?
数据库公共字段自动填充
2022危险化学品经营单位主要负责人练习题及模拟考试
8 expansion sub packages! Recbole launches 2.0!
[cloud native | kubernetes] in depth understanding of ingress (12)
光环效应——谁说头上有光的就算英雄
2022kdd pre lecture | 11 first-class scholars take you to unlock excellent papers in advance
CVPR 2022 | transfusion: Lidar camera fusion for 3D target detection with transformer
随机推荐
Xilinx/system-controller-c/boardui/ unable to connect to the development board, the solution of jamming after arbitrary operation
分布式BASE理论
XML入门一
JVM series - stack and heap, method area day1-2
DGraph: 大规模动态图数据集
Using scrcpy projection
C language staff management system
2022危险化学品经营单位主要负责人练习题及模拟考试
美国土安全部部长警告移民“不要踏上危险的旅程”
Scrapy 框架学习
SQL language
Lick the dog until the last one has nothing (state machine)
js中的变量提升和函数提升
Introduction to reverse debugging PE structure resource table 07/07
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)
Annual comprehensive analysis of China's mobile reading market in 2022
OpenHarmony应用开发之如何创建DAYU200预览器
Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
Getting started with the go language is simple: go implements the Caesar password