Skip to content

Commit

Permalink
Disabled autocomplete for datepicker (calendar) input field
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasilii Burlacu committed Nov 24, 2018
1 parent 00f4f7d commit 4008630
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/web/mage/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,9 @@
.addClass('v-middle')
.text('') // Remove jQuery UI datepicker generated image
.append('<span>' + pickerButtonText + '</span>');

$(element).attr('autocomplete', 'off');

this._setCurrentDate(element);
},

Expand Down

0 comments on commit 4008630

Please sign in to comment.