Content
View differences
Updated by Parimal Satyal 12 months ago
### Steps to reproduce
* Go to a work package
* Click on the 'Set reminder' button
* Enter only a date or a time
* (Optionally) enter a Note
* Click save
### What is the buggy behavior?
* If the time is not entered, an inline error is thrown (correct) but the previously-set Date field is cleared
* If the date is not entered, an inline error is thrown (correct) but the previously-set Time field is cleared
* When the error is thrown and the user corrects this by entering the missing date or time, the error state continues to be displayed
(Please see attached screencast for example of how frustrating this can be)
### What is the expected behavior?
* If either the required date/time fields are empty, do _not_ clear the value of the other field on clicking Save
* When the in-error is displayed and the user corrects it by entering the missing information, dismiss the error
* Explore `auto_check_src` ([ref](https://primer.style/view-components/lookbook/pages/forms/inputs/text_field)) for this as a test
_Note:_ [_Quick set dates_](https://community.openproject.org/wp/60357) _will make reduce the probability of these errors being present, but we must nevertheless address them._
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/432399/content">
### Environment information
**Community**
**OpenProject 15.5**
**Browser:**
Firefox Mac
**Language**
EN
* Go to a work package
* Click on the 'Set reminder' button
* Enter only a date or a time
* (Optionally) enter a Note
* Click save
### What is the buggy behavior?
* If the time is not entered, an inline error is thrown (correct) but the previously-set Date field is cleared
* If the date is not entered, an inline error is thrown (correct) but the previously-set Time field is cleared
* When the error is thrown and the user corrects this by entering the missing date or time, the error state continues to be displayed
(Please see attached screencast for example of how frustrating this can be)
### What is the expected behavior?
* If either the required date/time fields are empty, do _not_ clear the value of the other field on clicking Save
* When the in-error is displayed and the user corrects it by entering the missing information, dismiss the error
* Explore `auto_check_src` ([ref](https://primer.style/view-components/lookbook/pages/forms/inputs/text_field)) for this as a test
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/432399/content">
### Environment information
**Community**
**OpenProject 15.5**
**Browser:**
Firefox Mac
**Language**
EN