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.umd.js CHANGED
@@ -949,8 +949,6 @@
949
949
  }
950
950
 
951
951
  function focus() {
952
- console.log("FOCUS");
953
-
954
952
  if (site && site.changeFocus) {
955
953
  site.changeFocus({
956
954
  lose: function lose() {// DO NOTHING
@@ -960,8 +958,6 @@
960
958
  }
961
959
 
962
960
  function focusOut() {
963
- console.log("FOCUS OUT");
964
-
965
961
  if (site && site.changeFocus) {
966
962
  site.changeFocus({
967
963
  lose: function lose() {// DO NOTHING
@@ -992,7 +988,7 @@
992
988
  onFocus: focus,
993
989
  onBlur: focusOut,
994
990
  readOnly: readOnly
995
- }), !readOnly && canClear && value && value.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Icon, {
991
+ }), canClear && value && value.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Icon, {
996
992
  icon: "close",
997
993
  clickable: true,
998
994
  size: "small",
@@ -1167,7 +1163,8 @@
1167
1163
  }, /*#__PURE__*/React__default["default"].createElement(TextField, _extends({}, props, {
1168
1164
  onClick: toggle,
1169
1165
  value: label,
1170
- onChange: change
1166
+ onChange: change,
1167
+ readOnly: !predictive
1171
1168
  })), !readOnly ? /*#__PURE__*/React__default["default"].createElement(Icon, {
1172
1169
  icon: "expand_more",
1173
1170
  clickable: true,