@dragonmastery/zinia-forms-core 0.4.1 → 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 CHANGED
@@ -4492,7 +4492,7 @@ function createDaisyUIArrayField() {
4492
4492
  "button",
4493
4493
  {
4494
4494
  type: "button",
4495
- class: "btn btn-sm btn-ghost min-h-[32px] sm:min-h-[36px] px-3 sm:px-4 text-xs sm:text-sm",
4495
+ class: "btn btn-sm btn-secondary min-h-[32px] sm:min-h-[36px] px-3 sm:px-4 text-xs sm:text-sm",
4496
4496
  onClick: () => cancelPendingOperation(index),
4497
4497
  "aria-label": "Undo removal",
4498
4498
  children: [
@@ -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;