[Toolkit][Shadcn] Add native-select recipe - #3743
Open
laurentdav wants to merge 1 commit into
Open
Conversation
Contributor
|
Duplicate of #3479 |
This was referenced Jul 30, 2026
laurentdav
marked this pull request as ready for review
August 4, 2026 20:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shadcn now distinguishes the native HTML control from its fully custom Select component. This adds the
native-selectrecipe so the native behavior has the same dedicated API in Symfony UX Toolkit.The recipe includes
NativeSelect,NativeSelect:Option, andNativeSelect:OptGroup, the upstream size and validation states, LTR/RTL styling, and all upstream examples. The existingselectrecipe remains unchanged in this PR; #3744 aligns it with the custom upstream component, in keeping with the one-recipe-per-PR convention.No companion site change is required: the current documentation renders recipe READMEs directly and its Tailwind entry scans the installed Shadcn kit.
Tests:
bin/ux-toolkit-kit-lint --fail-on-warning kits/shadcnpnpm exec oxfmt --check src/Toolkit/CHANGELOG.md src/Toolkit/kits/shadcn/native-select/README.md src/Toolkit/kits/shadcn/native-select/manifest.jsonphp -d memory_limit=-1 vendor/bin/phpunit(1083 tests, 2622 assertions)