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