You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2018. It is now read-only.
This is my code which I am using in my current react project.
<DateTimeField className="some_class_name" dateTime={this.props.datevalue}
minDate={moment().subtract(0, "days")}
format={format}
viewMode={mode}
inputFormat={inputFormat}
onChange={this.onDateChangeHandler}/>
The problem with the datefeild is if we supply defaultdate as null or empty (this.props.datevalue= null), *it throws invalid datetime * and does not show the calendar at all.
it forces to supply some valid date. Could you please help me to fix this issue.
Thanks & Regards
Prem.
The text was updated successfully, but these errors were encountered:
Hi there,
This is my code which I am using in my current react project.
<DateTimeField className="some_class_name" dateTime={this.props.datevalue}
minDate={moment().subtract(0, "days")}
format={format}
viewMode={mode}
inputFormat={inputFormat}
onChange={this.onDateChangeHandler}/>
The problem with the datefeild is if we supply defaultdate as null or empty (this.props.datevalue= null), *it throws invalid datetime * and does not show the calendar at all.
it forces to supply some valid date. Could you please help me to fix this issue.
Thanks & Regards
Prem.
The text was updated successfully, but these errors were encountered: