mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 20:20:06 -03:30
Amend LoginForm component to use updated helperText props for @patternfly/react-core 2.1.8
This commit is contained in:
@@ -77,9 +77,11 @@ class AWXLogin extends Component {
|
|||||||
<LoginForm
|
<LoginForm
|
||||||
usernameLabel={i18n._(t`Username`)}
|
usernameLabel={i18n._(t`Username`)}
|
||||||
passwordLabel={i18n._(t`Password`)}
|
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}
|
usernameValue={username}
|
||||||
passwordValue={password}
|
passwordValue={password}
|
||||||
|
isValidUsername={isInputValid}
|
||||||
isValidPassword={isInputValid}
|
isValidPassword={isInputValid}
|
||||||
onChangeUsername={this.onChangeUsername}
|
onChangeUsername={this.onChangeUsername}
|
||||||
onChangePassword={this.onChangePassword}
|
onChangePassword={this.onChangePassword}
|
||||||
|
|||||||
Reference in New Issue
Block a user