diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c931d71..e2e1c706 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## (5.1.0 IN PROGRESS) * Sort the list of countries based on the current locale. Refs UISACQCOMP-164. +* Add `inputType` prop to ``. Refs UISACQCOMP-165. ## [5.0.0](https://github.com/folio-org/stripes-acq-components/tree/v5.0.0) (2023-10-12) [Full Changelog](https://github.com/folio-org/stripes-acq-components/compare/v4.0.2...v5.0.0) diff --git a/lib/AcqList/SingleSearchForm/SingleSearchForm.js b/lib/AcqList/SingleSearchForm/SingleSearchForm.js index 89fb90dd..137d6998 100644 --- a/lib/AcqList/SingleSearchForm/SingleSearchForm.js +++ b/lib/AcqList/SingleSearchForm/SingleSearchForm.js @@ -30,6 +30,7 @@ const SingleSearchForm = ({ selectedIndex, changeSearchIndex, searchableOptions, + inputType, }) => { const [translatedSearchableIndexes, setTranslatedSearchableIndexes] = useState(); const intl = useIntl(); @@ -96,6 +97,10 @@ const SingleSearchForm = ({ searchableOptions={searchableOptions} searchableIndexesPlaceholder={searchableIndexesPlaceholder} selectedIndex={selectedIndex} + inputType={inputType} + lockWidth + newLineOnShiftEnter + onSubmitSearch={submitSearch} />