Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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

pd1748 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

  • 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