Can't seem to get value to work in DatePicker


Topic: Can't seem to get value to work in DatePicker

pd1748 pro premium priority asked 6 years ago

I write code like this - minDate works... but autoOK doesn't appear to either. minD and currentorderdate are moments.
 
<MDBDatePicker autoOk={true} getValue={this.getPickerValue} minDate={minD.format('YYYY-MM-DD')} value={this.state.currentorderdate.format('YYYY-MM-DD')} />

Anna Morawska staff answered 6 years ago

Hi there, 

I'm not sure I understand you correctly- could you explain what you want to achieve? 


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: 4.8.4
  • Device: Windows
  • Browser: All
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No