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} mode={mode}
is24Hour={true} is24Hour={true}
locale={"pt-br"} locale={"pt-br"}
minimumDate={props.minimumDate}
// minimumDate={props.minimumDate}
maximumDate={new Date(moment())} maximumDate={new Date(moment())}
formatChosenDate={(selectedDate) => { formatChosenDate={(selectedDate) => {
if (mode == "date") { if (mode == "date") {

Loading…
Cancel
Save