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

增强部分功能 #6

Closed
wants to merge 7 commits into from
Closed

增强部分功能 #6

wants to merge 7 commits into from

Conversation

micate
Copy link

@micate micate commented Jun 15, 2018

垂直布局 verticalAlign

目前 checkbox 默认是水平布局,在一些文字比较长度场景下不是很合适。
后续可能需要修改对应的 FormField。

复选框附加选项勾选后可见 showAddonWhenChecked

目前 Item 支持 addon 属性(虽然没在文档中写明);
这个新增的属性的意义是,只有在 Item 勾选之后才显示,不勾选不显示。

@coveralls
Copy link

coveralls commented Jun 15, 2018

Coverage Status

Coverage increased (+0.2%) to 91.429% when pulling 2bd41c9 on micate:master into 943d8a7 on uxcore:master.

@micate micate changed the title 增加垂直布局选项 增强部分功能 Jun 15, 2018
@eternalsky
Copy link
Member

  1. 因为表单自己也有一个 verticalAlign,用于标题和表体之间,竖直排列,所以我感觉应该避开这个,换一个名字,2 的功能是否过于有针对性?我觉得这个功能靠目前 addon 就可以实现。

@micate
Copy link
Author

micate commented Jun 19, 2018

线下讨论后部分实现需要调整,决定拆分提交

@micate micate closed this Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants