# Feature SPAR-121 - Add trailing unit for input fields in datepicker and lag field

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

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 15.3.0 |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| SPAR-137 | Bug | The arrows for lag field in add-relation modal is visible in firefox | closed |  | 15.3.0 |  |  |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Build Number |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Behrokh Satarnejad |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**Problem**

*   The designs for the datepicker modal show a trailing unit inside the input field for the datepicker dialog as well as for the lag field
    
*   The Primer text fields specify such a behavior with the only difference that the unit is at the end of the field: [https://primer.style/components/text-input#with-leading-and-trailing-visuals](https://primer.style/components/text-input#with-leading-and-trailing-visuals)
    
*   However, it is unfortunately not implemented yet.
    

<img class="image_resized op-uc-image op-uc-image_inline" style="width:227px;" src="/api/v3/attachments/248042/content"> <img class="image_resized op-uc-image op-uc-image_inline" style="width:346px;" src="/api/v3/attachments/248044/content">

**Acceptance**

*   The two fields show the unit as specified in Primer at the end of the input field
    
    <br>
    

**Hint for QA:** The functionality is added and applied to the &quot;add relations&quot; modal. The datepicker does not exist yet, so it could not be applied there.
