set text values of new options
This commit is contained in:
parent
f721d7b32b
commit
f77e2cec34
@ -155,7 +155,7 @@ define([
|
|||||||
id: id,
|
id: id,
|
||||||
type: 'text',
|
type: 'text',
|
||||||
placeholder: 'your name',
|
placeholder: 'your name',
|
||||||
}).on('keyup', function () {
|
}).on('keyup change', function () {
|
||||||
proxy.table.cols[id] = $user.val() || "";
|
proxy.table.cols[id] = $user.val() || "";
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -179,9 +179,6 @@ define([
|
|||||||
|
|
||||||
table.addRow($option, Checkbox, id);
|
table.addRow($option, Checkbox, id);
|
||||||
|
|
||||||
|
|
||||||
console.log(table.$[0]);
|
|
||||||
|
|
||||||
return $option;
|
return $option;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -208,7 +205,7 @@ define([
|
|||||||
|
|
||||||
options.forEach(function (text) {
|
options.forEach(function (text) {
|
||||||
var id = rowuid();
|
var id = rowuid();
|
||||||
makeOption(proxy, id).val(text);
|
makeOption(proxy, id, text).val(text);
|
||||||
});
|
});
|
||||||
console.log(options);
|
console.log(options);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user