Skip to content

Commit

Permalink
Replace autocapitalize=off with autocapitalize=none (select2#4994)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweissman authored and vedanshujain committed Jun 21, 2018
1 parent 9057335 commit 6da6173
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Expand Up @@ -2,15 +2,19 @@

## 4.0.5

### Bug fixes
- Replace `autocapitalize=off` with `autocapitalize=none` (#4994)

### Translations
- Czech: Add missing commas and periods (#5052)
- Spanish: Update the 'errorLoading' message (#5032)
- Fix typo in Romanian (#5005)
- Improve French translation (#4988)
- Add Pashto translation (`ps`) (#4960)
- Add translations for lower and upper Sorbian (`dsb` and `hsb`) (#4949)
- Updates to Slovak (#4915)
- Fixed Norwegian `inputTooShort` message (#4896)
- Add Bosnian translation (`bs`) (#4504)
- Improve French translation (#4988)

## 4.0.4
- Fix issue with entire form losing focus when tabbing away from a Select2 control (#4419)
2 changes: 1 addition & 1 deletion src/js/select2/dropdown/search.js
Expand Up @@ -10,7 +10,7 @@ define([
var $search = $(
'<span class="select2-search select2-search--dropdown">' +
'<input class="select2-search__field" type="text" tabindex="-1"' +
' autocomplete="off" autocorrect="off" autocapitalize="off"' +
' autocomplete="off" autocorrect="off" autocapitalize="none"' +
' spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="true" />' +
'</span>'
);
Expand Down
2 changes: 1 addition & 1 deletion src/js/select2/selection/search.js
Expand Up @@ -11,7 +11,7 @@ define([
var $search = $(
'<li class="select2-search select2-search--inline">' +
'<input class="select2-search__field" type="text" tabindex="-1"' +
' autocomplete="off" autocorrect="off" autocapitalize="off"' +
' autocomplete="off" autocorrect="off" autocapitalize="none"' +
' spellcheck="false" role="textbox" aria-autocomplete="list" />' +
'</li>'
);
Expand Down

0 comments on commit 6da6173

Please sign in to comment.