Content
View differences
Updated by Alexander Coles 4 months ago
### 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_ > _Modules_)
3. Create at least one version (via _Project Settings **> 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 "Edit sprint".
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_
1. Login as a user with permissions to view backlogs and manage versions.
2. Enable backlogs for a given project (via _Project Settings_ > _Modules_)
3. Create at least one version (via _Project Settings **> 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 "Edit sprint".
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_