freemium-ui 2.0.129 → 2.0.130

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/lib/index.d.ts CHANGED
@@ -264,6 +264,12 @@ interface DropdownProps<T extends DefaultDropdownItem = DefaultDropdownItem> ext
264
264
  *
265
265
  */
266
266
  useComboboxProps?: UseComboboxProps<T>;
267
+ /**
268
+ * When true, on blur will commit or clear selection based on the input value:
269
+ * match → select; no match and no selection → clear input and call onChange(null);
270
+ * existing selection but input matches a different item → select that item.
271
+ */
272
+ selectValueOnBlur?: boolean;
267
273
  itemComponent?: (item: T, props?: DropdownItemProps | DropdownInputItemProps) => React.ReactNode | string;
268
274
  selectedItemComponent?: (item: T) => React.ReactNode | string;
269
275
  clearInputOnselect?: boolean;