get
function from the resolver parameters to reference other fields' props.confirmPassword
field as valid whenever its value
equals to the value of the password
field. This rule is automatically re-evaluated in real time whenever the values of either fields update.