瀏覽代碼

Replace `autocapitalize=off` with `autocapitalize=none` (#4994)

alexweissman 7 年之前
父節點
當前提交
a3952c7302
共有 3 個文件被更改,包括 7 次插入3 次删除
  1. 5 1
      CHANGELOG.md
  2. 1 1
      src/js/select2/dropdown/search.js
  3. 1 1
      src/js/select2/selection/search.js

+ 5 - 1
CHANGELOG.md

@@ -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 (#4817, 4896)
 - Add Bosnian translation (`bs`) (#4504)
-- Improve French translation (#4988)
 
 ## 4.0.4
 

+ 1 - 1
src/js/select2/dropdown/search.js

@@ -10,7 +10,7 @@ define([
     var $search = $(
       '<span class="select2-search select2-search--dropdown">' +
         '<input class="select2-search__field" type="search" tabindex="-1"' +
-        ' autocomplete="off" autocorrect="off" autocapitalize="off"' +
+        ' autocomplete="off" autocorrect="off" autocapitalize="none"' +
         ' spellcheck="false" role="textbox" />' +
       '</span>'
     );

+ 1 - 1
src/js/select2/selection/search.js

@@ -11,7 +11,7 @@ define([
     var $search = $(
       '<li class="select2-search select2-search--inline">' +
         '<input class="select2-search__field" type="search" tabindex="-1"' +
-        ' autocomplete="off" autocorrect="off" autocapitalize="off"' +
+        ' autocomplete="off" autocorrect="off" autocapitalize="none"' +
         ' spellcheck="false" role="textbox" aria-autocomplete="list" />' +
       '</li>'
     );