react-bootstrap-datetimepicker icon indicating copy to clipboard operation
react-bootstrap-datetimepicker copied to clipboard

defaultText shows always the first time even if there's a value

Open leoasis opened this issue 10 years ago • 0 comments

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

leoasis avatar Sep 21 '15 10:09 leoasis