Skip to content

fix: Add missing id initialization in field_select constructor#692

Merged
andreynering merged 1 commit intocharmbracelet:mainfrom
forever-salty:main
Sep 22, 2025
Merged

fix: Add missing id initialization in field_select constructor#692
andreynering merged 1 commit intocharmbracelet:mainfrom
forever-salty:main

Conversation

@forever-salty
Copy link
Copy Markdown
Contributor

Describe your changes

This fixes the field_select constructor to properly set the field's id.

Related issue/discussion: #691

Checklist before requesting a review

@forever-salty forever-salty requested a review from a team as a code owner September 3, 2025 01:17
@forever-salty forever-salty requested review from andreynering and meowgorithm and removed request for a team September 3, 2025 01:17
@jordanfowler
Copy link
Copy Markdown

@meowgorithm / @andreynering any chance one of you can review and merge? It makes huh forms with multiple select elements unusable. Thanks!

@andreynering andreynering linked an issue Sep 22, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Member

@andreynering andreynering left a comment

Choose a reason for hiding this comment

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

Hi @forever-salty, thank you for contributing!

I confirm your fix is working properly.

@andreynering andreynering merged commit f197546 into charmbracelet:main Sep 22, 2025
20 checks passed
jonas-grgt pushed a commit to jonas-grgt/huh that referenced this pull request Nov 12, 2025
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.

Select doesn't have id set properly

4 participants