From 2eeebf9ee7f016e4da046949a6e94402aaf18f4b Mon Sep 17 00:00:00 2001 From: Nate Hunzaker Date: Mon, 28 Mar 2016 20:04:39 -0400 Subject: [PATCH] Move getNativeProps usage inline --- src/renderers/dom/client/wrappers/ReactDOMInput.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderers/dom/client/wrappers/ReactDOMInput.js b/src/renderers/dom/client/wrappers/ReactDOMInput.js index 628b8d357efeb..8edacfa506658 100644 --- a/src/renderers/dom/client/wrappers/ReactDOMInput.js +++ b/src/renderers/dom/client/wrappers/ReactDOMInput.js @@ -74,7 +74,7 @@ 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, @@ -82,7 +82,7 @@ var ReactDOMInput = { onChange: inst._wrapperState.onChange, }); - return DisabledInputUtils.getNativeProps(inst, nativeProps); + return nativeProps }, mountWrapper: function(inst, props) {