Skip to content

feat(switch): add loading prop (#914)#1013

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

feat(switch): add loading prop (#914)#1013
wanchun wants to merge 1 commit into
chore/test-infrafrom
fix/issue-914-v2

Conversation

@wanchun

@wanchun wanchun commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Closes #914

Adds a loading Boolean prop to FSwitch that shows a spinner and blocks toggling during async operations.

Implementation:

  • switch.vue: loading: Boolean prop, renders LoadingOutlined spinner, blocks click toggle when true
  • 5 vitest tests covering: loading icon visible, click blocked, checked/unchecked states, etc.

Files changed: 2. 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