react-bootstrap-datetimepicker
react-bootstrap-datetimepicker copied to clipboard
defaultText shows always the first time even if there's a value
The default text is shown when mounting even if there's already a dateTime value specified. It should check if there is a valid value and show it, otherwise show the default text.
The problem is in this line: https://github.com/quri/react-bootstrap-datetimepicker/blob/master/src/DateTimeField.js#L61