The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

accguy (18) [Avatar] Offline
#1
I am having a problem with a combobox, in that it does not load its data. The source is pasted here:

http://www.extpaste.com/#3163

Clicking on the drop down (that is the trigger, right?), does nothing.

But, if I comment out the 'editable' property, and type in 4 characters (minChars), then the data loads (loading mask pops up and everything), the list populates, and you can select a value. If typeAhead is on, then no matter what you type, the combobox always overrites your selection with the first value in the list.

Here is a copy of what is being returned from the server:

[{"value":"Server","id":0},{"value":"Printer","id":1},{"value":"TerminalServer","id":2},{"value":"ImagingSystem","id":3}]

Thank you again in advance for your help.

Acc.
jesus.garcia (463) [Avatar] Offline
#2
Re: ComboBox Does Not Load on Trigger Click
Set triggerAction to all. Query is only for typeahead
accguy (18) [Avatar] Offline
#3
Re: ComboBox Does Not Load on Trigger Click
Jesus,

Thanks for the help!

I had it at 'all' initially, but, tried 'query' out of desperation. Setting it to 'all' does not change the behavior I described.