Skip to content

Commit

Permalink
fix password fild
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamsi committed Jan 17, 2020
1 parent b89274e commit 52dac6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fields/src/types/Password/views/Field.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export default class PasswordField extends Component {
this.setState(state => ({ showInputValue: !state.showInputValue }));
};
render() {
const { isEditing, inputPassword, inputConfirm, showInputValue, isReadOnly } = this.state;
const { autoFocus, field, value: serverValue, errors, warnings } = this.props;
const { isEditing, inputPassword, inputConfirm, showInputValue } = this.state;
const { autoFocus, field, value: serverValue, errors, warnings, isReadOnly } = this.props;
const value = serverValue || '';
const htmlID = `ks-input-${field.path}`;

Expand Down

0 comments on commit 52dac6a

Please sign in to comment.