Skip to content

Commit

Permalink
fix: shouldCloseOnSelect added
Browse files Browse the repository at this point in the history
  • Loading branch information
PritishBudhiraja committed Jul 8, 2024
1 parent 40ad598 commit bbe5ec8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Payments/DateOfBirth.res
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ let make = () => {
onChange={date => setSelectedDate(_ => date)}
dateFormat="dd-MM-yyyy"
wrapperClassName="datepicker"
shouldCloseOnSelect=true
placeholderText="Enter Date of Birth"
renderCustomHeader={val => {
<div className="flex gap-4 items-center justify-center m-2">
Expand Down
1 change: 1 addition & 0 deletions src/libraries/DatePicker.res
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ external make: (
~className: string=?,
~wrapperClassName: string=?,
~closeOnScroll: bool=?,
~shouldCloseOnSelect: bool=?,
) => React.element = "default"

0 comments on commit bbe5ec8

Please sign in to comment.