# Bug OP-6550 - Removing a date is from a WP is not consistently possible

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-6550

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 10.4.0 |
| Observed in versions | 10.2.0 |
| Sprint | 10.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.2.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Your OpenProject Version: **10.2.1**

### **Steps to reproduce:**

1.  Create a milestone in a project and set a date on it.
2.  Edit the milestone and try to delete the date.
3.  There is no error but no way to save it
    1.  Even after you click done in the calendar selector, the date picker simply closes. However the field remains open.
4.  Try to leave the screen and you get a message telling you you are about to leave without saving changes.
5.  Like in other fields an Enter saves the empty field, but a focus loss does not.

### **Expected Behavior**

*   Clicking somewhere else should submit the date field, like it does for all other fields.
*   We could think about submitting when clicking on &quot;Done&quot; in the date picker. However, we should be careful as the wording in German is &quot;Schließen&quot;. So it makes only sense, if that can be changed.
