ywana-core8 0.0.643 → 0.0.644

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
@@ -1467,7 +1467,12 @@
1467
1467
 
1468
1468
  var _label = option ? option.label : "";
1469
1469
 
1470
- if (editable && _label === "") setLabel(value);
1470
+ if (editable && _label === "") {
1471
+ setLabel(value);
1472
+ } else {
1473
+ setLabel(_label);
1474
+ }
1475
+
1471
1476
  if (!editable) setLabel(_label);
1472
1477
  }
1473
1478
  }, [value]);
@@ -1476,7 +1481,6 @@
1476
1481
  if (predictive) {
1477
1482
  setLabel(value);
1478
1483
  } else {
1479
- console.log('change', id, value);
1480
1484
  if (onChange) onChange(id, value);
1481
1485
  }
1482
1486
  }