You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Remy Kaufmann (JIRA)" <ji...@apache.org> on 2015/07/31 15:26:04 UTC
[jira] [Created] (WICKET-5959) HTML input placeholder text breaks
AutoCompleteTextField in IE11
Remy Kaufmann created WICKET-5959:
-------------------------------------
Summary: HTML input placeholder text breaks AutoCompleteTextField in IE11
Key: WICKET-5959
URL: https://issues.apache.org/jira/browse/WICKET-5959
Project: Wicket
Issue Type: Bug
Components: wicket-extensions
Affects Versions: 6.20.0
Environment: Windows 8.1 + Internet Explorer 11
Reporter: Remy Kaufmann
Reproduction steps are provided below:
1. Configure an AutoCompleteTextField so that the suggestion list shows on focus gain, and shows even if the input is still empty.
2. Link the AutoCompleteTextField to an HTML input element that has a value assigned to its "placeholder" attribute.
3. Embed the AutoCompleteTextField on a webpage, and open the webpage in Internet Explorer 11.
4. Click on the HTML input so that it receives focus. Do not type any text.
5. Click on an item from the AutoComplete dropdown list. Observe that nothing happens.
Opening the console reveals that an error has occurred in the "getSelectedValue()" function in the "wicket-autocomplete.js" file. The error is caused by the fact that the variable "selected" has a value of "-1", which causes the "getSelectableElement(selected)" call to go wrong and return "undefined".
I have recreated the issue in a Quickstart.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)