hey i am using thirdpartypasswordless and the user can signin using there phone or email and as pe...
a
hey i am using thirdpartypasswordless and the user can signin using there phone or email and as per requirement we want to get the user input values in frontend state so please tell how can we get this?
r
hey @ankit0panchal You can add listeners to the input field using the DOM functions or jquery, and then use those to update your state. You can do this by overriding the relevant component in our pre built UI and adding the dom listener in a useEffect (see react override section here: https://supertokens.com/docs/thirdpartypasswordless/advanced-customizations/react-component-override/usage)
a
here i am not able to access the input component
r
you will have to use the jquery or something to find the element in the dom