Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BasicForm组件的一些问题 #157

Open
ashuicoder opened this issue Jul 27, 2022 · 1 comment
Open

BasicForm组件的一些问题 #157

ashuicoder opened this issue Jul 27, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ashuicoder
Copy link

girdProps和giProps响应式布局失效:

 const [register] = useForm({
    gridProps: { cols: 4, itemResponsive: true, responsive: 'screen' },
    giProps: {
      span: '4 m:1 s:2',
    },
    labelWidth: 'auto',
    layout: 'inline',
    schemas,
  });

当form只有一行时,始终显示”收起按钮“,期望:只有一行时隐藏,多行显示。
image

@jekip jekip added the enhancement New feature or request label Jul 27, 2022
@jekip
Copy link
Owner

jekip commented Jul 27, 2022

这个特性如果 n-grid 组件能支持就很好了,目前 BasicForm 也不好去判断这个,当触发响应式的时候,页面是一行还是多行,或许可以获取 dom 方式来尝试实现

有兴趣,可以研究一下~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants