Closed marshalc closed 7 years ago
Additionally DateFields are not getting Date Time values written in by the DateTimePicker
The value vanishing appears to happen when the Picker is initialised on page load, so as I feared, this is somewhere in the JS code and likely a third party problem.
Key suspect is the https://github.com/Eonasdan/bootstrap-datetimepicker library. I had to patch this manually 14 months ago when I first started to use it, and since then it has been updated to track jQuery 3, so it looks like I'm going to have to debug the library again (see https://github.com/marshalc/bootstrap-datetimepicker)
Applying the same fixes again to the 4.17.47 that I'd used previously has fixed the DatetimePicker issues.
Example is Organ Allocation dates. Values are stored in the HTML, with extra seconds (so wrong format) but not appearing in the user display (which means the data is lost on save!)