Skip to content

fix: add active class to initially checked form elements#782

Merged
alexiglesias93 merged 1 commit intomasterfrom
fix-initial-checked
Feb 27, 2026
Merged

fix: add active class to initially checked form elements#782
alexiglesias93 merged 1 commit intomasterfrom
fix-initial-checked

Conversation

@alexiglesias93
Copy link
Copy Markdown
Member

No description provided.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
attributes Building Building Preview, Comment Feb 27, 2026 5:05pm

Request Review

@alexiglesias93 alexiglesias93 merged commit 58fddce into master Feb 27, 2026
5 checks passed
@alexiglesias93 alexiglesias93 deleted the fix-initial-checked branch February 27, 2026 17:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes an issue where form elements that are initially checked or have values don't receive the active class until they are changed. The fix adds initialization logic to apply the active class to all relevant form fields when the form is first set up.

Changes:

  • Added initialization loop to apply active class to initially checked/filled form elements

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/list/src/filter/elements.ts Added loop to iterate through form elements and apply active class on initialization
.changeset/silly-ideas-appear.md Added changeset documenting the fix as a patch version

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants