ywana-core8 0.0.141 → 0.0.142
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/textfield.js +2 -1
package/dist/index.cjs
CHANGED
@@ -983,8 +983,9 @@ var DropDown = function DropDown(props) {
|
|
983
983
|
if (canShow) {
|
984
984
|
var filterActive = canFilter && label && label.length > 0;
|
985
985
|
var items = filterActive ? options.filter(function (option) {
|
986
|
-
return
|
986
|
+
return label.toUpperCase().indexOf(option.label.toUpperCase()) >= 0;
|
987
987
|
}) : options;
|
988
|
+
console.log('filterActive: ', filterActive, label, items.length);
|
988
989
|
var lis = items.map(function (option) {
|
989
990
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
990
991
|
key: option.value,
|