Skip to content

Add support for native attributes in select component#165

Merged
phcurado merged 2 commits intophcurado:mainfrom
georgemarshall:codex/fix-missing-rest-includes
Apr 8, 2026
Merged

Add support for native attributes in select component#165
phcurado merged 2 commits intophcurado:mainfrom
georgemarshall:codex/fix-missing-rest-includes

Conversation

@georgemarshall
Copy link
Copy Markdown
Contributor

This pull request expands the set of native HTML attributes that the select component can accept and forward, improving its flexibility and standards compliance. It also adds a comprehensive test to ensure these attributes are correctly handled.

Enhancements to attribute forwarding:

  • The select component now allows additional native HTML attributes (autofocus, disabled, and required) to be passed through, in addition to the previously supported ones (form, multiple, name). (lib/daisy_ui_components/select.ex, [1]; installer/templates/components/select.ex, [2]

Testing improvements:

Codex AI and others added 2 commits April 5, 2026 13:13
Co-authored-by: georgemarshall <132688+georgemarshall@users.noreply.github.com>
Co-authored-by: georgemarshall <132688+georgemarshall@users.noreply.github.com>
Copy link
Copy Markdown
Owner

@phcurado phcurado left a comment

Choose a reason for hiding this comment

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

💜

@phcurado phcurado merged commit 0a71f53 into phcurado:main Apr 8, 2026
12 checks passed
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.

3 participants