salk31 / RedQueryBuilder

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

Feature - Add field name search to field listbox/dropdown #23

Closed prospectoria closed 9 years ago

prospectoria commented 10 years ago

The gwt-Listbox where the fields of the table are displayed, needs to be modified to function like the gwt-Suggestbox. When characters are typed it redraws the list so that the items left in the list(not including headers) Match the characters that were typed. If no characters are types and the box is clicked it should display the list from the top

scottdorman commented 10 years ago

Another option would be to use something like Chosen to provide functionality to the list boxes. This would require us to somehow know when the text box has been added to the page so we can run the right jQuery command to enable the plugin.

salk31 commented 10 years ago

I'd really like to add "callbacks" like this but I'd like to do it in a clean/stable way that would also support things like validation and custom serialisation. Work started but is tricky and seems worth taking care. I'd like to get an experimental branch out soon that users can use at their own risk, and hopefully understand API changes.

prospectoria commented 9 years ago

This is working as spec'd. Can type characters in the select box and it updates the dropdown list, works as advertised. Can open a new issue if the callback is needed, but this satisfies the initial request.