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

pd1748 priority asked 5 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 5 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.


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



Specification of the issue

  • ForumUser: Priority
  • 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