Skip to content

Options: Show label-only native options - #199

Merged
JJJ merged 2 commits into
masterfrom
jjj/option-labels
Sep 30, 2026
Merged

JJJ merged 2 commits into
masterfrom
jjj/option-labels

Conversation

@JJJ

@JJJ JJJ commented Sep 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • Preserve a native option's value while using its label attribute when its text is empty in jQuery, Prototype, and Vanilla.
  • Keep React's existing structured label behavior, and add a matching option to the four demos.
  • Start a reviewed tracker for Harvest's 49 open PRs and add the standing rule to update the public Harvest wiki review as upstream work progresses.

This follows Harvest PR #3112 by @SailorMax. Existing text takes precedence when both text and label are present, preserving current Chosen behavior.

Verification

  • npm run build
  • npm test, including jQuery 1.7.2, 1.12.4, 3.5.1, and 4.0.0, Prototype 1.7.0, Vanilla, React, and 228 visual fixtures
  • git diff --check and generated dist/ versus docs/ JavaScript parity
  • Local signature verified and GitHub reports the commit Verified

JJJ added 2 commits September 30, 2026 03:32
Use the option label attribute when its text is empty in the classic and Vanilla editions. Keep native select values unchanged and document the behavior across all four demos.

Start a tracker for the 49 open Harvest pull requests and require the public wiki review to follow upstream work.

See: harvesthq#3112

Props: SailorMax
Record Harvest PR harvesthq#3112 as fixed in the fork by PR #199.
@JJJ
JJJ merged commit 26556ea into master Sep 30, 2026
2 checks passed
@JJJ
JJJ deleted the jjj/option-labels branch September 30, 2026 08:36
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.

1 participant