ywana-core8 0.0.141 → 0.0.145
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +1 -1
- package/src/html/textfield.js +2 -1
package/dist/index.modern.js
CHANGED
@@ -976,8 +976,9 @@ var DropDown = function DropDown(props) {
|
|
976
976
|
if (canShow) {
|
977
977
|
var filterActive = canFilter && label && label.length > 0;
|
978
978
|
var items = filterActive ? options.filter(function (option) {
|
979
|
-
return
|
979
|
+
return option.label.toUpperCase().indexOf(label.toUpperCase()) >= 0;
|
980
980
|
}) : options;
|
981
|
+
console.log('filterActive: ', filterActive, label, items.length);
|
981
982
|
var lis = items.map(function (option) {
|
982
983
|
return /*#__PURE__*/React.createElement("li", {
|
983
984
|
key: option.value,
|
@@ -1324,7 +1325,7 @@ var StringCellViewer = function StringCellViewer(_ref4) {
|
|
1324
1325
|
}) : null;
|
1325
1326
|
var text = option ? option.label : value;
|
1326
1327
|
return /*#__PURE__*/React.createElement("div", {
|
1327
|
-
className: "field-editor string-
|
1328
|
+
className: "field-editor string-viewer"
|
1328
1329
|
}, text);
|
1329
1330
|
};
|
1330
1331
|
/**
|