It looks like you're new here. If you want to get involved, click one of these buttons!
I want your opinion on the following problem.
I created a joSelect control and bind both dataSource and valueSource to a record:
var rec = new joRecord({
elements: ["Apple", "Banana", "Meat"],
element: undefined
});
var select = new joSelect(rec.link("elements"), rec.link("element"));
If the value of the select control changes, the list of the selectable entries is replaced by a one element list with the index of the selected value (i.e. "1").
If I create the select controll without dataSource binding, the selectbox keeps its list of data after selection:
var select = new joSelect(["Apple", "Banana", "Meat"], rec.link("element"));
Can somebody confirm that the first behaviour is a bug, or am I using the data binding in a wrong way?