mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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
This commit is contained in:
committed by
Paul O’Shannessy
parent
9ef4e74ba2
commit
5cbabdf4c9
@@ -97,6 +97,12 @@ var DefaultDOMPropertyConfig = {
|
||||
value: MUST_USE_PROPERTY | HAS_SIDE_EFFECTS,
|
||||
width: MUST_USE_ATTRIBUTE,
|
||||
wmode: MUST_USE_ATTRIBUTE,
|
||||
|
||||
/**
|
||||
* Non-standard Properties
|
||||
*/
|
||||
autoCapitalize: null, // Supported in Mobile Safari for keyboard hints
|
||||
|
||||
/**
|
||||
* SVG Properties
|
||||
*/
|
||||
@@ -136,6 +142,7 @@ var DefaultDOMPropertyConfig = {
|
||||
stopOpacity: 'stop-opacity'
|
||||
},
|
||||
DOMPropertyNames: {
|
||||
autoCapitalize: 'autocapitalize',
|
||||
autoComplete: 'autocomplete',
|
||||
autoFocus: 'autofocus',
|
||||
autoPlay: 'autoplay',
|
||||
|
||||
Reference in New Issue
Block a user