@economic/taco 2.63.1 → 2.63.2-combobox-search-no-sorting.0

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/taco.cjs CHANGED
@@ -18479,7 +18479,7 @@ const useCombobox = (props, ref) => {
18479
18479
  React__namespace.useEffect(() => {
18480
18480
  const isCurrentValue = value !== void 0 && value !== null && inputValue === String(value);
18481
18481
  if (inputValue && data.length && !isCurrentValue) {
18482
- setCurrentIndex(0);
18482
+ setCurrentIndex(getIndexFromValue(data, inputValue) || 0);
18483
18483
  if (!open) {
18484
18484
  setOpen(true);
18485
18485
  }