mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Autocorrect and autocapitalize should not be property
Fixes facebook/react#5436
This commit is contained in:
1 parent
55bd203310
commit
db37deb17c
1 file changed
+2
-4
@@ -192,8 +192,8 @@ var HTMLDOMPropertyConfig = {
|
||||
*/
|
||||
// autoCapitalize and autoCorrect are supported in Mobile Safari for
|
||||
// keyboard hints.
|
||||
autoCapitalize: null,
|
||||
autoCorrect: null,
|
||||
autoCapitalize: MUST_USE_ATTRIBUTE,
|
||||
autoCorrect: MUST_USE_ATTRIBUTE,
|
||||
// autoSave allows WebKit/Blink to persist values of input fields on page reloads
|
||||
autoSave: null,
|
||||
// color is for Safari mask-icon link
|
||||
@@ -224,9 +224,7 @@ var HTMLDOMPropertyConfig = {
|
||||
httpEquiv: 'http-equiv',
|
||||
},
|
||||
DOMPropertyNames: {
|
||||
autoCapitalize: 'autocapitalize',
|
||||
autoComplete: 'autocomplete',
|
||||
autoCorrect: 'autocorrect',
|
||||
autoFocus: 'autofocus',
|
||||
autoPlay: 'autoplay',
|
||||
autoSave: 'autosave',
|
||||
|
||||
Reference in new issue
Block a user