chop-dbhi / ehb-datasources

datasource drivers, e.g. REDCap and Nautilus, that can be plugged into the Biorepository Portal
BSD 2-Clause "Simplified" License
2 stars 2 forks source link

Rework Datepicker widget. #22

Closed tjrivera closed 7 years ago

tjrivera commented 7 years ago

cc: @r3m0chop

Users are experiencing some issues where the datepicker is auto-filling dates when starting to type into date fields on the REDCap driver.

r3m0chop commented 7 years ago

@tjrivera - I imagine that's just a general browser caching auto-fill issue, as the date-picker itself doesn't really do this, but I have a look into it....

r3m0chop commented 7 years ago

@tjrivera - Please note that I do not seem to currently have access to any of the RedCap forms through https://brp.research.chop.edu/. Even on Project: *TRAINING* UPHS-CHOP Neurosurgery Collaborative Tissue Bank, I encounter: Not authorized for this Protocol Data Source

tjrivera commented 7 years ago

cc: @r3m0chop

A couple updates made to the date picker across 3960e9468057fb7912a1dc5aa7ce12bb5ca0e03f and 91166089fd0f94a2f01db457fbf7766e545558a1. Validation on manual input works the same thanks to your valiDate function. The datepicker is now explicitly activated via an icon next to the input field.

Visually it looks like this:

screen shot 2016-07-11 at 10 24 18 am