set text values of new options
This commit is contained in:
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…
x
Reference in New Issue
Block a user