I am using the suggest component to load data from the server when typing in the comobox. This is my code:
id: “aard”, view: “combo”, label: “Aard”, name: “Aard”,
suggest: {
keyPressTimeout: 400,
body: {
dataFeed: “/api/aardautocomplete”,
yCount: 10
}
},
My form is filled with data from the load-method:
$$(“formAlgemeen”).load("/api/formsampledata?id=1");
The problem I’m having is that I don’t know how to show the selected value in the combobox. The suggest list is only loaded when the user starts to type, so there’s no data yet.