https://supertokens.com/ logo
p

PPaii

06/29/2022, 2:15 PM
Hi , I got a problem on modifying the Sign Up form UI. The form did not display the adisstional fields.
r

rp

06/29/2022, 2:28 PM
hey @PPaii
did you clear cache / rebuild?
p

PPaii

06/30/2022, 2:39 AM
I did run yarn cache clean and then yarn dev
r

rp

06/30/2022, 2:49 AM
Are you calling supertokens init (from frontend lib) twice somewhere?
Can you comment out the whole of emailpassword.init part and see what happens? Does it still render the UI?
p

PPaii

06/30/2022, 3:05 AM
Yes it still render
r

rp

06/30/2022, 3:06 AM
Right. That means either it’s cached, your or are calling init somewhere else too.
p

PPaii

06/30/2022, 3:16 AM
It is possible because of this ?
r

rp

06/30/2022, 3:16 AM
Yes. Exactly
You should modify the init here. Add the form fields here and can remove the other file
p

PPaii

06/30/2022, 3:21 AM
Problem solved. Thanks ! I thought it need to be init in other place when i was checking the doc
r

rp

06/30/2022, 3:21 AM
Ah right! Okay