@samitouri / QOS-React-2 / commits / 5cbabdf4c9

Support `autocapitalize` DOM Property

It's non-standard, but potentially useful on mobile. See some discussion in google group: https://groups.google.com/forum/#!topic/reactjs/MBcCFohHHHA Closes #247

Paul O'Shannessy committed Aug 6, 2013 at 14:15 UTC 5cbabdf4c95ec2bf13a40a9912d660601823e01c
1 file changed +7
src/dom/DefaultDOMPropertyConfig.js
+7
@@ -97,6 +97,12 @@ var DefaultDOMPropertyConfig = {
97 value: MUST_USE_PROPERTY | HAS_SIDE_EFFECTS,
98 width: MUST_USE_ATTRIBUTE,
99 wmode: MUST_USE_ATTRIBUTE,
100 +
101 + /**
102 + * Non-standard Properties
103 + */
104 + autoCapitalize: null, // Supported in Mobile Safari for keyboard hints
105 +
106 /**
107 * SVG Properties
108 */
@@ -136,6 +142,7 @@ var DefaultDOMPropertyConfig = {
142 stopOpacity: 'stop-opacity'
143 },
144 DOMPropertyNames: {
145 + autoCapitalize: 'autocapitalize',
146 autoComplete: 'autocomplete',
147 autoFocus: 'autofocus',
148 autoPlay: 'autoplay',