mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Support string values for capture attribute. (#11424)
* Uses HAS_OVERLOADED_BOOLEAN_VALUE instead of HAS_BOOLEAN_VALUE * Allows for <input type="file" capture="user" /> Fixes #11419
This commit is contained in:
1 parent
acabf11245
commit
2fe3494f0d
1 file changed
+1
-1
+1
-1
@@ -26,7 +26,7 @@ var HTMLDOMPropertyConfig = {
|
||||
// autoFocus is polyfilled/normalized by AutoFocusUtils
|
||||
// autoFocus: HAS_BOOLEAN_VALUE,
|
||||
autoPlay: HAS_BOOLEAN_VALUE,
|
||||
capture: HAS_BOOLEAN_VALUE,
|
||||
capture: HAS_OVERLOADED_BOOLEAN_VALUE,
|
||||
checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
|
||||
cols: HAS_POSITIVE_NUMERIC_VALUE,
|
||||
contentEditable: HAS_STRING_BOOLEAN_VALUE,
|
||||
|
||||
Reference in new issue
Block a user