Skip to content

Chosen: Remove stale placeholder input values. - #101

Merged
JJJ merged 1 commit into
masterfrom
codex/remove-placeholder-value
Sep 25, 2026
Merged

JJJ merged 1 commit into
masterfrom
codex/remove-placeholder-value

Conversation

@JJJ

@JJJ JJJ commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • remove the obsolete value attribute from multiple-select search inputs
  • keep placeholder text in the standard placeholder attribute only
  • add matching jQuery and Prototype regressions
  • record five more Harvest issue reviews

This completes the placeholder migration for upstream issue harvesthq#3133. The fork already cleared the live input value and set placeholder, but the generated input still retained the original placeholder in its HTML value attribute. Translation and DOM inspection tools could therefore read the text twice or treat it as a real value.

Testing

  • npm test
    • jQuery 4.0.0: 74/74
    • jQuery 3.5.1: 74/74
    • jQuery 1.12.4: 74/74
    • jQuery 1.7.2: 74/74
    • Prototype 1.7.0: 71/71
  • git diff --check

Fixes harvesthq#3133.
See harvesthq#2891.
See harvesthq#3116.
See harvesthq#3154.
See harvesthq#3149.

@JJJ
JJJ marked this pull request as ready for review September 25, 2026 08:37
@JJJ
JJJ merged commit 2cc9cc0 into master Sep 25, 2026
1 check passed
@JJJ
JJJ deleted the codex/remove-placeholder-value branch September 25, 2026 08:37
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.

Use placeholder attribute on input elements for placeholder text (instead of value attribute)

1 participant