pulibrary / approvals

Approval system for travel and absence requests at Princeton University Library
Other
0 stars 0 forks source link

[lux-styleguidist] Absence request form not persisting selected dates #1116

Open rladdusaw opened 6 months ago

rladdusaw commented 6 months ago

Expected behavior

When I chose a range of dates on the absence form and submit it, the dates should be saved. The total hours requested should update.

Actual behavior

It's saving the default date range instead of the selected range and not updating the total requested hours.

Steps to replicate

Click on the new absence request link and enter a date range different than the default. Fill out the rest of the form and submit it. The confirmation page will still have the default date instead of the supplied one.

Impact of this bug

Unable to submit an accurate request without the date range being saved

Related failing spec

christinach commented 6 months ago

Compare this with the travel request form where the datePicker works as expected.