mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Autocorrect and autocapitalize should not be property
Fixes facebook/react#5436
This commit is contained in:
@@ -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