Skip to content

Commit

Permalink
Fix fullwidth prop for InputPassword (#957)
Browse files Browse the repository at this point in the history
Fix fullwidth prop for InputPassword
  • Loading branch information
gregorylegarec authored May 2, 2019
2 parents ddffaff + 782a407 commit aea3701
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion react/Field/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ class InputPassword extends React.Component {
{visible ? hideLabel : showLabel}
</div>
)}
<Input {...restProps} type={visible ? 'text' : 'password'} />
<Input
{...restProps}
fullwidth={fullwidth}
type={visible ? 'text' : 'password'}
/>
</div>
)
}
Expand Down

0 comments on commit aea3701

Please sign in to comment.