funk101
06/22/2022, 2:08 PMonChange
event. However, it's firing on a "blur" event.rp_st
06/22/2022, 2:11 PMrp_st
06/22/2022, 2:11 PMfunk101
06/22/2022, 2:13 PMfunk101
06/22/2022, 2:14 PMfunk101
06/22/2022, 2:14 PMfunk101
06/22/2022, 2:15 PMrp_st
06/22/2022, 2:16 PMfunk101
06/22/2022, 2:16 PMrp_st
06/22/2022, 5:22 PMfunk101
06/22/2022, 6:14 PMfunk101
06/22/2022, 6:14 PMrp_st
06/22/2022, 6:14 PMrp_st
06/22/2022, 6:15 PMfunk101
06/22/2022, 6:15 PMrp_st
06/22/2022, 6:15 PMrp_st
06/22/2022, 6:15 PMfunk101
06/22/2022, 6:15 PMfunk101
06/22/2022, 6:15 PMfunk101
06/22/2022, 6:15 PMrp_st
06/22/2022, 6:15 PMfunk101
06/22/2022, 6:16 PMfunk101
06/22/2022, 6:16 PMphoneInput.addEventListener("blur", onBlur);
stateInput.addEventListener("change", onChange);
return () => {
phoneInput.removeEventListener("blur", onBlur);
stateInput.removeEventListener("change", onChange);
};
rp_st
06/22/2022, 6:17 PMfunk101
06/22/2022, 6:17 PMfunk101
06/26/2022, 5:06 AMrp_st
06/26/2022, 5:07 AMfunk101
06/26/2022, 5:08 AMrp_st
06/26/2022, 5:08 AMrp_st
06/26/2022, 5:09 AMfunk101
06/26/2022, 5:09 AMfunk101
06/26/2022, 5:09 AMrp_st
06/26/2022, 5:09 AMrp_st
06/26/2022, 5:10 AMfunk101
06/26/2022, 5:10 AMrp_st
06/26/2022, 5:10 AMrp_st
06/26/2022, 5:10 AMfunk101
06/26/2022, 5:11 AMrp_st
06/26/2022, 5:11 AMfunk101
06/26/2022, 5:11 AMfunk101
06/26/2022, 5:14 AMrp_st
06/26/2022, 5:19 AMfunk101
06/26/2022, 5:20 AMrp_st
06/26/2022, 5:21 AMfunk101
06/26/2022, 5:21 AMEmailPasswordReact.init({
getRedirectionURL: async (context) => {
if (context.action === "SUCCESS") {
if (context.redirectToPath !== undefined) {
// navigate back to where the user was before authenticated
return context.redirectToPath;
}
return "/dashboard";
}
return undefined;
},
rp_st
06/26/2022, 5:21 AMfunk101
06/26/2022, 5:21 AMrp_st
06/26/2022, 5:21 AMrp_st
06/26/2022, 5:22 AMfunk101
06/26/2022, 5:22 AMrp_st
06/26/2022, 5:22 AM