Join Discord
Powered by
hey i am using thirdpartypasswordless and the user...
# support-questions-legacy
a
ankit0panchal
12/26/2023, 4:21 PM
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
rp_st
12/26/2023, 7:44 PM
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
ankit0panchal
12/27/2023, 6:40 AM
here i am not able to access the input component
r
rp_st
12/27/2023, 6:54 AM
you will have to use the jquery or something to find the element in the dom
Previous
Next