Skip to content

Commit

Permalink
fix: change handleChange function (#262)
Browse files Browse the repository at this point in the history
causing issue while selecting values from selectList component
#256
  • Loading branch information
shubhamv-ss authored Aug 9, 2024
1 parent 71062de commit 7deab44
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.0.33

- updated the condition in handleChange in selectList component

## 3.0.32

- Updated SearchInput component with debounce functionality
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@catena-x/portal-shared-components",
"version": "3.0.32",
"version": "3.0.33",
"description": "Catena-X Portal Shared Components",
"author": "Catena-X Contributors",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/basic/SelectList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const SelectList = ({

// eslint-disable-next-line
const handleChange = (newValue: any) => {
if (newValue.target.value) {
if (newValue) {
setSelected(newValue)
onChangeItem(newValue)
}
Expand Down

0 comments on commit 7deab44

Please sign in to comment.