Move getNativeProps usage inline
Nate Hunzaker committed
Mar 28, 2016 at 20:04 UTC
0200946112310b320fb90d220c620cf6b83e3fa6
1 file changed
+2
-2
src/renderers/dom/client/wrappers/ReactDOMInput.js
+2
-2
@@ -73,7 +73,7 @@ var ReactDOMInput = {
73
// Make sure we set .type before any other properties (setting .value
74
// before .type means .value is lost in IE11 and below)
75
type: undefined,
76
- }, props, {
76
+ }, DisabledInputUtils.getNativeProps(inst, props), {
77
defaultChecked: undefined,
78
defaultValue: undefined,
79
value: value != null ? value : inst._wrapperState.initialValue,
@@ -81,7 +81,7 @@ var ReactDOMInput = {
81
onChange: inst._wrapperState.onChange,
82
});
83
84
- return DisabledInputUtils.getNativeProps(inst, nativeProps);
84
+ return nativeProps
85
},
86
87
mountWrapper: function(inst, props) {