ywana-core8 0.0.365 → 0.0.366

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
@@ -954,8 +954,6 @@ var TextField = function TextField(props) {
954
954
  }
955
955
 
956
956
  function focus() {
957
- console.log("FOCUS");
958
-
959
957
  if (site && site.changeFocus) {
960
958
  site.changeFocus({
961
959
  lose: function lose() {// DO NOTHING
@@ -965,8 +963,6 @@ var TextField = function TextField(props) {
965
963
  }
966
964
 
967
965
  function focusOut() {
968
- console.log("FOCUS OUT");
969
-
970
966
  if (site && site.changeFocus) {
971
967
  site.changeFocus({
972
968
  lose: function lose() {// DO NOTHING
@@ -997,7 +993,7 @@ var TextField = function TextField(props) {
997
993
  onFocus: focus,
998
994
  onBlur: focusOut,
999
995
  readOnly: readOnly
1000
- }), !readOnly && canClear && value && value.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Icon, {
996
+ }), canClear && value && value.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Icon, {
1001
997
  icon: "close",
1002
998
  clickable: true,
1003
999
  size: "small",
@@ -1172,7 +1168,8 @@ var DropDown = function DropDown(props) {
1172
1168
  }, /*#__PURE__*/React__default["default"].createElement(TextField, _extends({}, props, {
1173
1169
  onClick: toggle,
1174
1170
  value: label,
1175
- onChange: change
1171
+ onChange: change,
1172
+ readOnly: !predictive
1176
1173
  })), !readOnly ? /*#__PURE__*/React__default["default"].createElement(Icon, {
1177
1174
  icon: "expand_more",
1178
1175
  clickable: true,