diff --git a/components/input/Input.tsx b/components/input/Input.tsx index fb3a529c31..67e80a93c7 100644 --- a/components/input/Input.tsx +++ b/components/input/Input.tsx @@ -128,25 +128,16 @@ export default class Input extends React.Component { // Need another wrapper for changing display:table to display:inline-block // and put style prop in wrapper - if (addonBefore || addonAfter) { - return ( - - - {addonBefore} - {React.cloneElement(children, { style: null })} - {addonAfter} - - - ); - } return ( - - {addonBefore} - {children} - {addonAfter} + + + {addonBefore} + {React.cloneElement(children, { style: null })} + {addonAfter} + ); }