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

EmployeeField 在value为[]且placeholder过长时,存在label被压短的样式问题 #291

Closed
1 of 2 tasks
air-eienniutau opened this issue Oct 23, 2018 · 0 comments
Closed
1 of 2 tasks
Labels

Comments

@air-eienniutau
Copy link

请按照以下模板填写,不按照标准模板填写的 issue 将降低处理优先级。

这是一个

  • 错误报告
  • 功能需求

SaltUI 版本

4.1.12

浏览器、操作系统等环境信息

chrome

复现步骤

https://salt-ui.github.io/components/employee-field , render方法中,修改value={[]},placeholder="请选择请选择请选择请选择请选择" 即可复现

人员组件label与field结构与其它表单组件不同,通常表单组件为左侧label固定宽度,右侧field flex:1; 当前人员组件样式结构上,左侧label为flex:1, 右侧field max-width: 100%; 因此右侧field区域会挤占label的宽度

eternalsky added a commit that referenced this issue Oct 23, 2018
@eternalsky eternalsky added the bug label Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants