Tencent / Tencent/tdesign-flutter

feat: 补齐 Form、TStepper 和 TRate 的通用对齐能力

Open
#995 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
1.2k
Forks
182
Avg merge
2d 2h
Merged PRs (30d)
88

Description

背景

Form 文档中的 formContentAlign、contentAlign 已明确说明 TStepper 和 TRate 尚未实现通用对齐能力;formLabelAlign/labelAlign 也缺少完整的整体对齐行为说明。

期望

  • 明确 Form、FormItem 与子组件对齐属性的优先级;
  • 为 TStepper、TRate 补齐通用内容对齐支持,或明确不支持的边界;
  • 补充 API 文档和组件测试。

相关代码

  • tdesign-site/docs/components/form/README.md
  • tdesign-component 下的 Form、TStepper、TRate 实现

该事项原先由文档 TODO 说明,不能只删除 TODO 而丢失限制信息。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tdesign-site/docs/components/form/README.md, then locate the Form, TStepper, and TRate implementations and their component tests under tdesign-component. Trace the documented priority between Form, FormItem, and child alignment properties. Done means supported alignment behavior or explicit boundaries are documented, with API documentation and component tests covering the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
documentation, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.