@strapi/ui-primitives 2.0.0-rc.11 → 2.0.0-rc.13
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.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -863,6 +863,8 @@ const ComboboxNoValueFound = React.forwardRef((props, ref) => {
|
|
|
863
863
|
unsub();
|
|
864
864
|
};
|
|
865
865
|
}, [subscribe]);
|
|
866
|
+
if (autocomplete.type === "none" && items.length > 0)
|
|
867
|
+
return null;
|
|
866
868
|
if (autocomplete.type === "list" && autocomplete.filter === "startsWith" && items.some((item) => startsWith(item.textValue, textValue))) {
|
|
867
869
|
return null;
|
|
868
870
|
}
|