Repository URL to install this package:
Version:
0.14.1 ▾
|
ui-component-library
/
src
/
components
/
presets
/
B2B
/
ResetPasswordConfirmationForm
/
Form
/
fixture.ts
|
---|
export const wording = {
password: 'New Password*',
passwordRule1: 'Password must be minimum 6 characters in length',
passwordRule2:
'At least 1 number, 1 uppercase, 1 lower case, 1 special character',
reenterPassword: 'Re Enter Password*',
button: 'Reset Password',
}
export const inputList = [
{
identity: 'password',
type: 'password',
value: '',
className: 'register-password',
name: 'password',
labelText: wording.password,
maxLength: 90,
wrapperClassName: 'register-password-container',
validationType: 'password',
errorMessageFor: 'password',
dataQa: 'qa-new-password',
animatePlaceholder: false,
},
{
type: 'label',
name: 'password-rules',
labelText: wording.passwordRule1,
className: 'password-rules-label',
wrapperClass: 'label-wrapper',
dataQa: 'password-rules-label1',
},
{
type: 'label',
name: 'password-rules',
labelText: wording.passwordRule2,
className: 'password-rules-label',
wrapperClass: 'label-wrapper',
dataQa: 'password-rules-label2',
},
{
identity: 'confirmPassword',
type: 'password',
value: '',
className: 'register-confirm-password',
name: 'confirmPassword',
labelText: wording.reenterPassword,
maxLength: 90,
wrapperClassName: 'confirm-password-container',
validationType: 'confirmPassword',
errorMessageFor: 'confirmPassword',
dataQa: 'qa-confirm-password',
animatePlaceholder: false,
},
]