Skip to content

Commit 527d7b1

Browse files
zpaosophiebits
authored andcommitted
Merge pull request facebook#5623 from freddyrangel/autocorrect_autocapitalize
Autocorrect and autocapitalize should not be property (cherry picked from commit eee5d46)
1 parent f8777ee commit 527d7b1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/renderers/dom/shared/HTMLDOMPropertyConfig.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ var HTMLDOMPropertyConfig = {
191191
*/
192192
// autoCapitalize and autoCorrect are supported in Mobile Safari for
193193
// keyboard hints.
194-
autoCapitalize: null,
195-
autoCorrect: null,
194+
autoCapitalize: MUST_USE_ATTRIBUTE,
195+
autoCorrect: MUST_USE_ATTRIBUTE,
196196
// autoSave allows WebKit/Blink to persist values of input fields on page reloads
197197
autoSave: null,
198198
// color is for Safari mask-icon link
@@ -223,9 +223,7 @@ var HTMLDOMPropertyConfig = {
223223
httpEquiv: 'http-equiv',
224224
},
225225
DOMPropertyNames: {
226-
autoCapitalize: 'autocapitalize',
227226
autoComplete: 'autocomplete',
228-
autoCorrect: 'autocorrect',
229227
autoFocus: 'autofocus',
230228
autoPlay: 'autoplay',
231229
autoSave: 'autosave',

0 commit comments

Comments
 (0)