ywana-core8 0.0.160 → 0.0.161
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 +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +2 -2
package/dist/index.cjs
CHANGED
@@ -2957,7 +2957,9 @@ var StringEditor = function StringEditor(_ref6) {
|
|
2957
2957
|
label = field.label,
|
2958
2958
|
options = field.options,
|
2959
2959
|
_field$editable = field.editable,
|
2960
|
-
editable = _field$editable === void 0 ? true : _field$editable
|
2960
|
+
editable = _field$editable === void 0 ? true : _field$editable,
|
2961
|
+
_field$predictive = field.predictive,
|
2962
|
+
predictive = _field$predictive === void 0 ? false : _field$predictive;
|
2961
2963
|
|
2962
2964
|
function change(id, value) {
|
2963
2965
|
if (onChange) onChange(id, value);
|
@@ -2986,7 +2988,7 @@ var StringEditor = function StringEditor(_ref6) {
|
|
2986
2988
|
onChange: change,
|
2987
2989
|
options: buildOptions(),
|
2988
2990
|
readOnly: !editable,
|
2989
|
-
canFilter:
|
2991
|
+
canFilter: predictive
|
2990
2992
|
}) : /*#__PURE__*/React__default["default"].createElement(TextField, {
|
2991
2993
|
outlined: outlined,
|
2992
2994
|
id: id,
|