Open aliMurtaja opened 2 years ago
when I used the datePicker as control component, its didn't work the way it should work.
<DatePicker dateFormat="DD MMM YYYY" closeOnSelect={true} autoComplete="new-password" value= { this.state.dateOfBirth } />
I gave the value as a props to make DatePicker control component, but it didn't work.
when I type the any character in DatePicker without update this.state.dateOfBirth, it shows that character in DatePicker.
this.state.dateOfBirth
"react-datetime": "^2.16.3",
when I used the datePicker as control component, its didn't work the way it should work.
<DatePicker dateFormat="DD MMM YYYY" closeOnSelect={true} autoComplete="new-password" value= { this.state.dateOfBirth } />
I gave the value as a props to make DatePicker control component, but it didn't work.
when I type the any character in DatePicker without update
this.state.dateOfBirth
, it shows that character in DatePicker."react-datetime": "^2.16.3",