Skip to content

test(form): add labelWidth propagation tests (#911)#1010

Closed
wanchun wants to merge 1 commit into
chore/test-infrafrom
fix/issue-911-v2
Closed

test(form): add labelWidth propagation tests (#911)#1010
wanchun wants to merge 1 commit into
chore/test-infrafrom
fix/issue-911-v2

Conversation

@wanchun

@wanchun wanchun commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Closes #911

The labelWidth prop was already implemented in FForm (interface.ts:46) and FFormItem already reads it via provide/inject and applies it as inline style on the label (formItem.vue:157-158). This PR adds 2 vitest tests to lock the existing behavior:

  • FForm's labelWidth propagates to FFormItem
  • FFormItem's own labelWidth overrides FForm's

Files changed: 1 (test only). No lockfile. No test-infra changes.

@wanchun

wanchun commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator Author

Closed as part of v3 rebuild from chore/test-infra. Original v1/v2 PRs being superseded by clean re-implementation (vitest + playwright + docs).

@wanchun wanchun closed this Jun 4, 2026
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.

1 participant