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

[comp: form] 期望表单支持自动设置子项label的长度 #1432

Open
1 task
danranVm opened this issue Jan 18, 2023 · 1 comment
Open
1 task

[comp: form] 期望表单支持自动设置子项label的长度 #1432

danranVm opened this issue Jan 18, 2023 · 1 comment
Labels
Comp:Form enhancement New feature or request

Comments

@danranVm
Copy link
Member

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

一般场景下,设计师要求一个表单的标签长度,是表单子项最长标签的长度;
目前不支持自动计算,需要手动指定长度,不够智能;

What does the proposed API look like?

<IxForm labelCol="auto" />

@idux-bot
Copy link

idux-bot bot commented Jan 18, 2023

Translation of this issue:

[Comp: Form] Expect the form of the automatic settings of the sub -item Label

What proplem does this feature solver?

In general, the designer requires the label length of a form, which is the longest label length of the form item;
At present, automatic calculations are not supported, and the length is required manually, which is not intelligent enough;

What does the proposed api look like?

<IxForm labelCol="auto" />

@danranVm danranVm added the enhancement New feature or request label Jan 18, 2023
@danranVm danranVm removed their assignment Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Comp:Form enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant