diff --git a/package-lock.json b/package-lock.json index 6a2e83e5..16d7ec37 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,6 +42,7 @@ "jest": "27.5.1", "jest-watch-typeahead": "1.0.0", "prettier": "2.5.1", + "react-select-event": "5.3.0", "rollup": "2.67.3", "rollup-plugin-typescript2": "0.31.2", "ts-essentials": "9.1.2", @@ -17952,6 +17953,15 @@ "react-dom": "^16.8.0 || ^17.0.0" } }, + "node_modules/react-select-event": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/react-select-event/-/react-select-event-5.3.0.tgz", + "integrity": "sha512-Novkl7X9JJKmDV5LyYaKwl0vffWtqPrBa1vuI0v43P/f87mSA7JfdYxU93SFb99RssphVzBSIAbcnbX1w21QIQ==", + "dev": true, + "dependencies": { + "@testing-library/dom": ">=7" + } + }, "node_modules/react-sizeme": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/react-sizeme/-/react-sizeme-3.0.2.tgz", @@ -36515,6 +36525,15 @@ "react-transition-group": "^4.3.0" } }, + "react-select-event": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/react-select-event/-/react-select-event-5.3.0.tgz", + "integrity": "sha512-Novkl7X9JJKmDV5LyYaKwl0vffWtqPrBa1vuI0v43P/f87mSA7JfdYxU93SFb99RssphVzBSIAbcnbX1w21QIQ==", + "dev": true, + "requires": { + "@testing-library/dom": ">=7" + } + }, "react-sizeme": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/react-sizeme/-/react-sizeme-3.0.2.tgz", diff --git a/package.json b/package.json index 374767ad..4d1606a3 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "jest": "27.5.1", "jest-watch-typeahead": "1.0.0", "prettier": "2.5.1", + "react-select-event": "5.3.0", "rollup": "2.67.3", "rollup-plugin-typescript2": "0.31.2", "ts-essentials": "9.1.2", diff --git a/src/components/Selects/MatchColumnSelect.tsx b/src/components/Selects/MatchColumnSelect.tsx index 4f9dae68..13866738 100644 --- a/src/components/Selects/MatchColumnSelect.tsx +++ b/src/components/Selects/MatchColumnSelect.tsx @@ -9,9 +9,10 @@ interface Props { value?: SelectOption options: readonly SelectOption[] placeholder?: string + name?: string } -export const MatchColumnSelect = ({ onChange, value, options, placeholder }: Props) => { +export const MatchColumnSelect = ({ onChange, value, options, placeholder, name }: Props) => { const styles = useStyleConfig("MatchColumnsStep") as Styles return (