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

amis-editor单独使用input/textarea/select等组件移动端场景下无法实现label和输入框上下布局排列 #10748

Open
hugo8680 opened this issue Aug 8, 2024 · 1 comment

Comments

@hugo8680
Copy link

hugo8680 commented Aug 8, 2024

描述问题:

amis-editor不使用form的前提下,单独使用input/textarea等表单组件,没法实现label和组件上下布局排列,尝试复制一分cxd.css修改formItem为flex布局,但是样式错乱

截图或视频:

image

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的?
    sdknpm其他...

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在

  3. 粘贴有问题的完整 amis schema 代码:

官方demo也没有能实现的方法
  1. 操作步骤
    拖动一个select或textarea组件,配置上下布局,但是移动端预览没有效果
@lhtuling
Copy link

手机端应该就是这么设计的。。。
这种情况估计修复要等了~~~
自己用css再多调整试试了

欢迎大佬进群交流
Amis低代码前端框架交流群【QQ1群】:717791727
Amis低代码前端框架交流群【QQ2群】:721182449

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants