diff --git a/packages/fields/src/types/Password/views/Field.js b/packages/fields/src/types/Password/views/Field.js index 3988e1696bf..ea404e4148b 100644 --- a/packages/fields/src/types/Password/views/Field.js +++ b/packages/fields/src/types/Password/views/Field.js @@ -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}`;