Skip to content

Commit

Permalink
disable autocomplete for now, too buggy #3447
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Mar 3, 2014
1 parent 6393923 commit 83e8705
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/webapp/search-include-fragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
<ui:fragment>
<h:form>
<p:focus/>
<p:watermark for="autoCompleteSearch" value="Search this dataverse..."/>
<p:autoComplete id="autoCompleteSearch" size="40" value="#{SearchIncludeFragment.query}" completeMethod="#{autoCompleteBean.complete}" style="margin-right:1em;"/>
<p:watermark for="formerAutoCompleteSearch" value="Search this dataverse..."/>
<!--autocomplete disabled for now, too buggy: https://redmine.hmdc.harvard.edu/issues/3447#note-2 -->
<!--<p:autoComplete id="autoCompleteSearch" size="40" value="SearchIncludeFragment.query" completeMethod="autoCompleteBean.complete" style="margin-right:1em;"/>-->
<p:inputText id="formerAutoCompleteSearch" size="40" value="#{SearchIncludeFragment.query}" style="margin-right:1em;"/>
<p:commandButton id="searchbutton" value="Find" actionListener="#{SearchIncludeFragment.search()}" update="@all"/>
<h:outputLink value="/search/advanced.xhtml" style="margin-left:1em;" rendered="#{showAdvancedSearchLink}">
<h:outputText value="Advanced Search"/>
Expand Down

1 comment on commit 83e8705

@pdurbin
Copy link
Member Author

@pdurbin pdurbin commented on 83e8705 Jul 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#3477 was an old Redmine issue at https://redmine.hmdc.harvard.edu/issues/3447

This commit was for this issue: Autocomplete: Term that appears in autocomplete gets chosen if a user hits enter #40

Please sign in to comment.