@razorpay/blade 10.13.1 → 10.13.2

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.
@@ -13853,7 +13853,8 @@ var makeInputDisplayValue = function makeInputDisplayValue(selectedIndices, opti
13853
13853
 
13854
13854
  // When one item is selected, we display that item's title in input
13855
13855
  if (selectedIndices.length === 1) {
13856
- return options[selectedIndices[0]].title;
13856
+ var _options$selectedIndi;
13857
+ return (_options$selectedIndi = options[selectedIndices[0]]) === null || _options$selectedIndi === void 0 ? void 0 : _options$selectedIndi.title;
13857
13858
  }
13858
13859
 
13859
13860
  // When more than one item is selected, we display the count of items
@@ -23995,7 +23996,7 @@ var useAutoComplete = function useAutoComplete(_ref) {
23995
23996
  setActiveIndex(firstItemOptionIndex);
23996
23997
  }
23997
23998
  // eslint-disable-next-line react-hooks/exhaustive-deps
23998
- }, [globalFilteredValues.length]);
23999
+ }, [globalFilteredValues.length, options.length]);
23999
24000
 
24000
24001
  // When input is empty or its single select, we want all items to be shown in filter on open of dropdown
24001
24002
  React__default.useEffect(function () {