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 Aug 11, 2018
1 parent cc1e013 commit ff4b005
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 @@ -377,6 +377,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 ff4b005

Please sign in to comment.