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.cjs CHANGED
@@ -4303,8 +4303,9 @@ var TableFilters = function TableFilters(props) {
4303
4303
 
4304
4304
 
4305
4305
  var TableEditor = function TableEditor(props) {
4306
- var check = function check(id, value) {
4306
+ var check = function check(id, value, t) {
4307
4307
  try {
4308
+ console.log('check() ', id, value, t);
4308
4309
  var ids = Array.isArray(id) ? id : [id];
4309
4310
  pageContext.check(ids, value);
4310
4311
  setPageContext(Object.assign({}, pageContext));
@@ -4411,9 +4412,7 @@ var TableEditor = function TableEditor(props) {
4411
4412
  id: field.id,
4412
4413
  label: field.label,
4413
4414
  type: field.type,
4414
- onChange: field.id === "checked" ? function (rowID, id, value) {
4415
- check(rowId, value);
4416
- } : field.editable ? change : null,
4415
+ onChange: field.id === "checked" ? check : field.editable ? change : null,
4417
4416
 
4418
4417
  /* checked has it´s own handler */
4419
4418
  options: options