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.cjs CHANGED
@@ -1473,7 +1473,12 @@ var DropDown = function DropDown(props) {
1473
1473
 
1474
1474
  var _label = option ? option.label : "";
1475
1475
 
1476
- if (editable && _label === "") setLabel(value);
1476
+ if (editable && _label === "") {
1477
+ setLabel(value);
1478
+ } else {
1479
+ setLabel(_label);
1480
+ }
1481
+
1477
1482
  if (!editable) setLabel(_label);
1478
1483
  }
1479
1484
  }, [value]);
@@ -1482,7 +1487,6 @@ var DropDown = function DropDown(props) {
1482
1487
  if (predictive) {
1483
1488
  setLabel(value);
1484
1489
  } else {
1485
- console.log('change', id, value);
1486
1490
  if (onChange) onChange(id, value);
1487
1491
  }
1488
1492
  }