ywana-core8 0.0.106 → 0.0.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -4300,8 +4300,9 @@
4300
4300
 
4301
4301
 
4302
4302
  var TableEditor = function TableEditor(props) {
4303
- var check = function check(id, value) {
4303
+ var check = function check(id, value, t) {
4304
4304
  try {
4305
+ console.log('check() ', id, value, t);
4305
4306
  var ids = Array.isArray(id) ? id : [id];
4306
4307
  pageContext.check(ids, value);
4307
4308
  setPageContext(Object.assign({}, pageContext));
@@ -4408,9 +4409,7 @@
4408
4409
  id: field.id,
4409
4410
  label: field.label,
4410
4411
  type: field.type,
4411
- onChange: field.id === "checked" ? function (rowID, id, value) {
4412
- check(rowId, value);
4413
- } : field.editable ? change : null,
4412
+ onChange: field.id === "checked" ? check : field.editable ? change : null,
4414
4413
 
4415
4414
  /* checked has it´s own handler */
4416
4415
  options: options