From 55103a0ea560bbf1942717895994412d73e26d6b Mon Sep 17 00:00:00 2001 From: omjadas Date: Mon, 25 May 2020 13:37:28 +1000 Subject: [PATCH] use item.value as key if present --- src/QuickSearchInput.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/QuickSearchInput.tsx b/src/QuickSearchInput.tsx index c44d5b2..5145ab6 100644 --- a/src/QuickSearchInput.tsx +++ b/src/QuickSearchInput.tsx @@ -261,7 +261,7 @@ export const QuickSearch: FC = (props) => { {preMatch}{match}{postMatch} ) return ( - + {labelComponent} @@ -298,4 +298,4 @@ const defaultProps = { }; -export default QuickSearch; \ No newline at end of file +export default QuickSearch;