Repository navigation
Fix createSelect() selected() documentation example - #9431
Merged
davepagurek merged 2 commits intoDec 2, 2026
Merged
Conversation
1 of 19 tasks
davepagurek
approved these changes
Dec 1, 2026
davepagurek
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the update!
Continuous ReleaseCDN linkPublished PackagesCommit hash: ed81059 Previous deploymentsThis is an automated message. |
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.
Resolves #9430
Changes
createSelect()documentation example to pass the option value (red) instead of the label (one) toselected().selected()accepts the option value.No changes were made to the actual function implementation.
Testing
npm run lint: 0 errors, 44 warnings.npm run docs: Completed successfully.git diff --check: Passed.The WebGPU shader test failure was also reproduced on the unchanged code, confirming that it is unrelated to this documentation change in my local environment.
AI Usage Disclosure
I used ChatGPT for guidance in understanding the issue, suggesting the documentation correction, troubleshooting tests, and preparing the PR. I reviewed the changes and performed the verification locally.
PR Checklist
npm run lintpassesNo new unit tests were added because this is a documentation-only change.