Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Hotels: Set maxDate limitation for checkin date
Browse files Browse the repository at this point in the history
  • Loading branch information
tbergquist-godaddy committed Jun 4, 2019
1 parent cf95d2f commit 859f10a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/hotels/src/navigation/HotelsNavigationOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const hotelsNavigationOptions = ({
date={checkin}
onDateChange={setCheckinDate}
minDate={today}
maxDate={DateUtils(today).addDays(364)}
/>
<Text style={styles.toText}>
<Translation id="hotels_search.header.to" />
Expand Down

0 comments on commit 859f10a

Please sign in to comment.