dbca-wa / tsc

Threatened Species and Communities
https://dbca-wa.github.io/tsc/
MIT License
1 stars 0 forks source link

Cannot reset the date /time #82

Open stevenmartin123 opened 4 years ago

stevenmartin123 commented 4 years ago

Problem

Cannot reset the date /time to the original number after entered it incorrectly

Reproducible example

florianm commented 4 years ago

Browser console logs indicate that jQuery is not correctly loaded on the page. This could explain that the select2 widget is not enabled. The bug lies somewhere with the static assets of the third party library django_select2.

Currently it is possible to save with an empty encountered_on, then update the record again, or delete the incorrect date string and enter a correct one. However, the placeholder "now" datetime only exists on new records.

For now I've updated the help text to indicate the correct format (e.g. 21/10/2010 00:00).