Closed Lymanli closed 1 month ago
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: When the form uses row and col for complex layout, the height of the form components in form-item is not uniform.
@Lymanli 根据复现demo定位,是由于checkbox在mini size的情况下,高度与其他表单项不一致,导致了col排版错乱。 组件库会调整一下checbox在mini size的情况下的高度
Bot detected the issue body's language is not English, translate it automatically.
@Lymanli According to the repeated demo positioning, it is because the height of the checkbox is inconsistent with other form items when it is mini size, resulting in disordered col layout. The component library will adjust the height of checkbox when it is in mini size.
Version
3.16.0
Vue Version
3.4.27
Link to minimal reproduction
https://opentiny.design/vue-playground?cmpId=form&fileName=form-row-col.vue&apiMode=Options&mode=pc&theme=default
Step to reproduce
点击‘切换size’按钮时,form会切换不同的size值
What is expected
在form设置不同的size值时,form-item中的表单组件高度保持一致,不会出现组件前面留空的情况
What is actually happening
What is your project name
form+row、col的复杂布局
Any additional comments (optional)
No response