salk31 / RedQueryBuilder

SQL Query Builder UI JavaScript component
http://redquerybuilder.appspot.com/
Eclipse Public License 1.0
96 stars 22 forks source link

Feature - Suggestbox dropdown when clicked with no characters #26

Closed prospectoria closed 8 years ago

prospectoria commented 10 years ago

The gwt-Suggestbox needs to make it's ajax call for it's list of values when clicked and no characters are entered. Currently you must type a character before the ajax call is made, then it populates the dropdown. We need this to be modified so that it makes the call for a list of values when the box is clicked, regardless of whether they have typed a character or not.

prospectoria commented 9 years ago

This is also working as advertised. Click the box, makes the call, gets the list. Working very well :)

salk31 commented 9 years ago

http://stackoverflow.com/questions/25749921/suggestion-request-without-user-entering-partial-text

Wider demand so more urgent to put it into master.

Ratnesh-Github commented 9 years ago

I also need this feature in my app. If a user comes to an input field, suggestion box should show options without them requiring to type. And when they types any letter, it should filter the options based on the letter.

salk31 commented 9 years ago

Please could you test this: https://0-8-0-dot-redquerybuilder.appspot.com/ ? Silly default to things starting with "e"

Ratnesh-Github commented 9 years ago

Yeah it is showing all the options. But it is defaulting to "e" right now. Thanks !. It might be useful if there is a scroll bar too on the suggestion list. Right now it is difficult to see the options at the end of suggestion list.