pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

🐛[BUG]ProForm栅格colProps影响到EditableProTable行内FormItem

Open tong233 opened this issue 3 years ago • 0 comments

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

grid

📷 复现步骤

ProForm上设置grid和colProps={{ span: 8 }},EditableProTable行内FormItem也会应用ant-col-8导致input宽度不能撑满列宽, 给filedProps style设width 100%也不行

image

🏞 期望结果

EditableProTable FormItem不应用ProForm的colProps,使输入框宽度能撑满列宽 目前只能删掉ProForm上的colProps,在每个FormItem上设colProps

image

💻 复现代码

https://codesandbox.io/s/yu-formitem-pei-he-forked-sjx7mq?file=/App.tsx:2811-2844

© 版本信息

  • ProComponents 版本: [e.g. 4.0.0]
  • umi 版本
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

tong233 avatar Sep 02 '22 03:09 tong233