当前位置:网站首页>[antd] how to set antd in form There is input in item Get input when gourp Value of each input of gourp
[antd] how to set antd in form There is input in item Get input when gourp Value of each input of gourp
2022-07-04 14:02:00 【Like wine Longjing】
【Antd】Antd How to be in Form.Item There is Input.Gourp When you get Input.Gourp Every one of Input Of value
My approach is to Input.Gourp Nest another Form.Item
That is to say, in every Input.Gourp Medium Input The outer layer is wrapped with another Form.Item, Through this second Form.Item Of name Property acquisition Input Of value
</Form.Item>
<Form.Item label="Y Spindle value range ">
<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>
边栏推荐
猜你喜欢
Unittest框架中引入TestFixture
ASP. Net core introduction I
德明利深交所上市:市值31亿 为李虎与田华夫妻档
【R语言数据科学】:交叉验证再回首
OpenHarmony应用开发之如何创建DAYU200预览器
CVPR 2022 | 大幅减少零样本学习所需的人工标注,提出富含视觉信息的类别语义嵌入(源代码下载)...
One of the solutions for unity not recognizing riders
吃透Chisel语言.05.Chisel基础(二)——组合电路与运算符
MySQL 5 installation and modification free
数据库公共字段自动填充
随机推荐
结合案例:Flink框架中的最底层API(ProcessFunction)用法
C language Dormitory Management Query Software
Unittest框架之断言
自主工业软件的创新与发展
使用默认路由作为指向Internet的路由
逆向调试入门-PE结构-资源表07/07
C語言宿舍管理查詢軟件
美国土安全部长:国内暴力极端主义是目前美面临的最大恐怖主义威胁之一
【Antd踩坑】Antd Form 配合Input.Group时出现Form.Item所占据的高度不对
Node mongodb installation
Getting started with microservices
分布式BASE理论
Qt如何实现打包,实现EXE分享
舔狗舔到最后一无所有(状态机)
免费、好用、强大的轻量级笔记软件评测:Drafts、Apple 备忘录、Flomo、Keep、FlowUs、Agenda、SideNote、Workflowy
C foundation in-depth learning II
Summary of recent days (non-technical article)
The Secretary of Homeland Security warned immigrants "not to embark on a dangerous journey"
嵌入式编程中五个必探的“潜在错误”
【C 题集】of Ⅶ