Skip to content

Commit

Permalink
Move getNativeProps usage inline
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker committed Mar 29, 2016
1 parent e30fafd commit 2eeebf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderers/dom/client/wrappers/ReactDOMInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ var ReactDOMInput = {
// Make sure we set .type before any other properties (setting .value
// before .type means .value is lost in IE11 and below)
type: undefined,
}, props, {
}, DisabledInputUtils.getNativeProps(inst, props), {
defaultChecked: undefined,
defaultValue: undefined,
value: value != null ? value : inst._wrapperState.initialValue,
checked: checked != null ? checked : inst._wrapperState.initialChecked,
onChange: inst._wrapperState.onChange,
});

return DisabledInputUtils.getNativeProps(inst, nativeProps);
return nativeProps
},

mountWrapper: function(inst, props) {
Expand Down

0 comments on commit 2eeebf9

Please sign in to comment.