Skip to content

Commit 2eeebf9

Browse files
committed
Move getNativeProps usage inline
1 parent e30fafd commit 2eeebf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderers/dom/client/wrappers/ReactDOMInput.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ var ReactDOMInput = {
7474
// Make sure we set .type before any other properties (setting .value
7575
// before .type means .value is lost in IE11 and below)
7676
type: undefined,
77-
}, props, {
77+
}, DisabledInputUtils.getNativeProps(inst, props), {
7878
defaultChecked: undefined,
7979
defaultValue: undefined,
8080
value: value != null ? value : inst._wrapperState.initialValue,
8181
checked: checked != null ? checked : inst._wrapperState.initialChecked,
8282
onChange: inst._wrapperState.onChange,
8383
});
8484

85-
return DisabledInputUtils.getNativeProps(inst, nativeProps);
85+
return nativeProps
8686
},
8787

8888
mountWrapper: function(inst, props) {

0 commit comments

Comments
 (0)