Browse Source

disabling minimum date on the date picker

master
analuizaff 3 years ago
parent
commit
e2e1efbb23
  1. 2
      src/app/components/DatePicker.js

2
src/app/components/DatePicker.js

@ -99,7 +99,7 @@ export default function DatePicker(props) {
mode={mode}
is24Hour={true}
locale={"pt-br"}
minimumDate={props.minimumDate}
// minimumDate={props.minimumDate}
maximumDate={new Date(moment())}
formatChosenDate={(selectedDate) => {
if (mode == "date") {

Loading…
Cancel
Save