Skip to content

Commit

Permalink
Issue harvesthq#3133: Use placeholder attribute for placeholder text.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jen Lampton committed Aug 15, 2022
1 parent 91041bc commit 2e8359a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coffee/lib/abstract-chosen.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ class AbstractChosen
"""
<ul class="chosen-choices">
<li class="search-field">
<input class="chosen-search-input" type="text" autocomplete="off" value="#{@default_text}" />
<input class="chosen-search-input" type="text" autocomplete="off" placeholder="#{@default_text}" />
</li>
</ul>
<div class="chosen-drop">
Expand Down

0 comments on commit 2e8359a

Please sign in to comment.