set text values of new options

pull/1/head
ansuz 8 years ago
parent f721d7b32b
commit f77e2cec34

@ -155,7 +155,7 @@ define([
id: id,
type: 'text',
placeholder: 'your name',
}).on('keyup', function () {
}).on('keyup change', function () {
proxy.table.cols[id] = $user.val() || "";
});
@ -179,9 +179,6 @@ define([
table.addRow($option, Checkbox, id);
console.log(table.$[0]);
return $option;
};
@ -208,7 +205,7 @@ define([
options.forEach(function (text) {
var id = rowuid();
makeOption(proxy, id).val(text);
makeOption(proxy, id, text).val(text);
});
console.log(options);
});

Loading…
Cancel
Save