Upgrade to new form binder
This commit is contained in:
@@ -19,7 +19,7 @@ export class ResetPassword extends Component {
|
||||
isValid: (r, v) => v.length >= 6,
|
||||
},
|
||||
reenteredNewPassword: {
|
||||
isValid: (r, v) => v !== "" && v === r.getFieldValue("newPassword"),
|
||||
isValid: (r, v) => v !== "" && v === r.getBindingValue("newPassword"),
|
||||
},
|
||||
submit: {
|
||||
noValue: true,
|
||||
@@ -73,7 +73,7 @@ export class ResetPassword extends Component {
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
|
||||
const obj = this.state.binder.getModifiedFieldValues()
|
||||
const obj = this.state.binder.getmodifiedBindingValues()
|
||||
const passwordToken = new URLSearchParams(
|
||||
decodeURIComponent(window.location.search)
|
||||
).get("password-token")
|
||||
|
||||
Reference in New Issue
Block a user