@samitouri / QOS-React-2 / commits / db37deb17c

Autocorrect and autocapitalize should not be property

Fixes facebook/react#5436

Freddy Rangel committed Dec 7, 2015 at 23:11 UTC db37deb17c5ae444bbe956d4e43cae7509197405
1 file changed +2 -4
src/renderers/dom/shared/HTMLDOMPropertyConfig.js
+2 -4
@@ -192,8 +192,8 @@ var HTMLDOMPropertyConfig = {
192 */
193 // autoCapitalize and autoCorrect are supported in Mobile Safari for
194 // keyboard hints.
195 - autoCapitalize: null,
196 - autoCorrect: null,
195 + autoCapitalize: MUST_USE_ATTRIBUTE,
196 + autoCorrect: MUST_USE_ATTRIBUTE,
197 // autoSave allows WebKit/Blink to persist values of input fields on page reloads
198 autoSave: null,
199 // color is for Safari mask-icon link
@@ -224,9 +224,7 @@ var HTMLDOMPropertyConfig = {
224 httpEquiv: 'http-equiv',
225 },
226 DOMPropertyNames: {
227 - autoCapitalize: 'autocapitalize',
227 autoComplete: 'autocomplete',
229 - autoCorrect: 'autocorrect',
228 autoFocus: 'autofocus',
229 autoPlay: 'autoplay',
230 autoSave: 'autosave',