@dragonmastery/zinia-forms-core 0.4.2 → 0.4.3
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 +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8458,7 +8458,7 @@ var ComboboxFilter = (props) => {
|
|
|
8458
8458
|
if (!searchQuery.value.trim()) return false;
|
|
8459
8459
|
if (props.allowCreate) return false;
|
|
8460
8460
|
const query = searchQuery.value.trim();
|
|
8461
|
-
return !props.options.some((opt) => opt.label.toLowerCase() === query.toLowerCase());
|
|
8461
|
+
return filteredOptions.value.length === 0 && !props.options.some((opt) => opt.label.toLowerCase() === query.toLowerCase());
|
|
8462
8462
|
});
|
|
8463
8463
|
const handleInput = (e) => {
|
|
8464
8464
|
const value = e.target.value;
|