Skip to content

Commit

Permalink
fix(DateSelect): Fixed bug when controlled component
Browse files Browse the repository at this point in the history
  • Loading branch information
giubatt committed May 19, 2021
1 parent 9369c81 commit 84b7c68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/DateSelect/DateSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const DateSelect = ({
}
setCustomValue(value)
selectItem(value)
onChange?.(value)
closeMenu()
}

Expand Down

0 comments on commit 84b7c68

Please sign in to comment.