Commit 71c4a8a0 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '48153-date-selection-dialog-broken-when-creating-a-new-milestone' into 'master'

Resolve "Date selection dialog broken when creating a new milestone"

Closes #48153

See merge request gitlab-org/gitlab-ce!20033
parents 27dea9aa ad39bd58
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
.form-group.row .form-group.row
= f.label :start_date, "Start Date", class: "col-form-label col-sm-2" = f.label :start_date, "Start Date", class: "col-form-label col-sm-2"
.col-sm-10 .col-sm-10
= f.text_field :start_date, class: "datepicker form-control", placeholder: "Select start date" = f.text_field :start_date, class: "datepicker form-control", placeholder: "Select start date", autocomplete: 'off'
%a.inline.float-right.prepend-top-5.js-clear-start-date{ href: "#" } Clear start date %a.inline.float-right.prepend-top-5.js-clear-start-date{ href: "#" } Clear start date
.form-group.row .form-group.row
= f.label :due_date, "Due Date", class: "col-form-label col-sm-2" = f.label :due_date, "Due Date", class: "col-form-label col-sm-2"
.col-sm-10 .col-sm-10
= f.text_field :due_date, class: "datepicker form-control", placeholder: "Select due date" = f.text_field :due_date, class: "datepicker form-control", placeholder: "Select due date", autocomplete: 'off'
%a.inline.float-right.prepend-top-5.js-clear-due-date{ href: "#" } Clear due date %a.inline.float-right.prepend-top-5.js-clear-due-date{ href: "#" } Clear due date
---
title: Prevent browser autocomplete for milestone date fields
merge_request:
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment