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

vue3、element-plus label显示异常 #122

Closed
liicos opened this issue Nov 9, 2021 · 0 comments
Closed

vue3、element-plus label显示异常 #122

liicos opened this issue Nov 9, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@liicos
Copy link

liicos commented Nov 9, 2021

反馈问题请先查看文档和务必提供详细的复现代码,遵循如下格式,描述不清楚的问题将会直接关闭。

vue和ui框架

vue3、element-plus

问题描述

"inline": true 模式下 "labelPosition": "right",不生效

如何复现

{
  "schema": {
    "type": "object",
    "required": [],
    "properties": {
      "object_1636439193924x0": {
        "title": "Object",
        "type": "object",
        "required": [],
        "properties": {
          "string_1636438706925x0": {
            "title": "输入框",
            "type": "string",
            "ui:options": {
              "placeholder": "请输入"
            }
          },
          "string_1636440726562x0": {
            "title": "输入框",
            "type": "string",
            "ui:options": {
              "placeholder": "请输入"
            }
          }
        },
        "ui:order": [
          "string_1636438706925x0",
          "string_1636440726562x0"
        ]
      }
    },
    "ui:order": [
      "object_1636439193924x0"
    ]
  },
  "uiSchema": {},
  "formFooter": {},
  "formProps": {
    "inline": true,
    "inlineFooter": true,
    "labelPosition": "right",
    "labelWidth": "100px",
    "labelSuffix": ""
  }
}

期望的结果

label正常显示在左边,而不是上面

@lljj-x lljj-x added the bug Something isn't working label Nov 11, 2021
@lljj-x lljj-x closed this as completed in 65a7143 Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants