mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Amend LoginForm component to use updated helperText props for @patternfly/react-core 2.1.8
This commit is contained in:
parent
68225d191a
commit
09107aef1f
@ -77,9 +77,11 @@ class AWXLogin extends Component {
|
||||
<LoginForm
|
||||
usernameLabel={i18n._(t`Username`)}
|
||||
passwordLabel={i18n._(t`Password`)}
|
||||
passwordHelperTextInvalid={i18n._(t`Invalid username or password. Please try again.`)}
|
||||
showHelperText={!isInputValid}
|
||||
helperText={i18n._(t`Invalid username or password. Please try again.`)}
|
||||
usernameValue={username}
|
||||
passwordValue={password}
|
||||
isValidUsername={isInputValid}
|
||||
isValidPassword={isInputValid}
|
||||
onChangeUsername={this.onChangeUsername}
|
||||
onChangePassword={this.onChangePassword}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user