# Bug DREAM-615 - Single Date Picker does not show placeholder text

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-615

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Frontend components and Primer design system, Modules and project features / Backlogs |
| Target versions | 17.2.0 |
| Observed in versions | 17.2.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.2.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

### Steps to reproduce (UI)

1.  Login as a user with permissions to view backlogs and manage versions.
    
2.  Enable backlogs for a given project (via _Project Settings_ &gt; _Modules_)
    
3.  Create at least one version (via _Project Settings **&gt; Versions**)._ Do not set a date at this point.
    
4.  Go to the Backlogs page. Click the ... (menu) in the header of a newly created Sprint/Version. Click &quot;Edit sprint&quot;.
    
5.  Three fields are displayed.
    

### Steps to reproduce (code)

1.  Render a single date picker, setting the `placeholder` option.
    

```ruby
        dates.single_date_picker(
          name: :start_date,
          label: attribute_name(:start_date),
          placeholder: attribute_name(:start_date),
          visually_hide_label: true,
          leading_visual: { icon: :calendar },
          datepicker_options: {}
        )
```

### What is the buggy behavior?

*   No placeholder renders for the start and end dates.
    

<img class="image_resized op-uc-image op-uc-image_inline" style="width:577px;" src="/api/v3/attachments/918679/content">

### What is the expected behavior?

*   A placeholder should be rendered
    

### Note for QA

The implementation differs for mobile and desktop - so ideally both would be tested.

### Environment information

**OpenProject installation type**

*   Hosted cloud edition
    

**OpenProject version**

_dev_

**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**

_en\_GB_
