Red Hat Bugzilla – Bug 848438
Content search auto-complete should enable the 'Add' button after typing full content name.
Last modified: 2013-09-19 14:14:43 EDT
Description of problem:
Typing the full content name (i.e. product, repo or package) should enable the "Add" button. Typing a portion of the name and clicking the desired content item in the resulting drop-down should not be *required* to enable the "Add" button.
This requirement is not intuitive, inconsistent with similar interfaces in other products (e.g. Google search), and makes testing significantly more complex.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Type the full content name into one of the auto-complete inputs.
2. Notice the corresponding "Add" button is still disabled.
We need newer version of jQuery UI autocomplete (included in converge UI). The response callback which we can use for this was introduced in . With this we would be able to check if returned data contain string which is written in search input and eventually enable the add button.
It can be done also with little monkeypatching but I vote for the update.
* response callback will be in jQuery 1.9 which is not stable yet
Merged in PR #622 commit #febb27af8
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM. If this is a mistake feel free to re-open.