Skip to content

Commit a3952c7

Browse files
committed
Replace autocapitalize=off with autocapitalize=none (select2#4994)
1 parent 65f85c3 commit a3952c7

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@
22

33
## 4.0.5
44

5+
### Bug fixes
6+
- Replace `autocapitalize=off` with `autocapitalize=none` (#4994)
7+
58
### Translations
69
- Czech: Add missing commas and periods (#5052)
710
- Spanish: Update the 'errorLoading' message (#5032)
811
- Fix typo in Romanian (#5005)
12+
- Improve French translation (#4988)
13+
- Add Pashto translation (`ps`) (#4960)
914
- Add translations for lower and upper Sorbian (`dsb` and `hsb`) (#4949)
1015
- Updates to Slovak (#4915)
1116
- Fixed Norwegian `inputTooShort` message (#4817, 4896)
1217
- Add Bosnian translation (`bs`) (#4504)
13-
- Improve French translation (#4988)
1418

1519
## 4.0.4
1620

src/js/select2/dropdown/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ define([
1010
var $search = $(
1111
'<span class="select2-search select2-search--dropdown">' +
1212
'<input class="select2-search__field" type="search" tabindex="-1"' +
13-
' autocomplete="off" autocorrect="off" autocapitalize="off"' +
13+
' autocomplete="off" autocorrect="off" autocapitalize="none"' +
1414
' spellcheck="false" role="textbox" />' +
1515
'</span>'
1616
);

src/js/select2/selection/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define([
1111
var $search = $(
1212
'<li class="select2-search select2-search--inline">' +
1313
'<input class="select2-search__field" type="search" tabindex="-1"' +
14-
' autocomplete="off" autocorrect="off" autocapitalize="off"' +
14+
' autocomplete="off" autocorrect="off" autocapitalize="none"' +
1515
' spellcheck="false" role="textbox" aria-autocomplete="list" />' +
1616
'</li>'
1717
);

0 commit comments

Comments
 (0)