# Bug SPAR-273 - Characters "eaten" when modifying duration in work package date picker

Project: Stream Planning and Reporting
Status: closed
URL: https://community.openproject.org/work_packages/SPAR-273

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Relations and scheduling |
| Target versions | 16.5.0 |
| Observed in versions | 16.1.0 |
| Bug found in version (deprecated) | 16.1.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Open the date picker modal for a work package
    
2.  Type 123456789 in the duration field, at a slow pace (~0.5 seconds each stroke)
    
3.  Try also deleting by pressing backspace key, at a slow pace as well
    

Warning while you test it: clear the dates before doing so. Entering large durations while the dates are present will make the app derive the finish date from the duration, and that can be very long!

### What is the buggy behavior?

*   Some characters are lost, or reappear while typing
    

### What is the expected behavior?

1.  The duration should reflect what has been typed, even if some calculation are done in the background and some values are updated
    

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/700012/content">

### Environment information

**OpenProject version**

16.1. but was there since 15.4

**Browser**

*   [x] Chrome
*   [ ] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

*   [ ] Windows
*   [x] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)

**Language**

English
