Universal Login - custom signup options

I am attempting to add a name option to my universal login page here is the code:

var options = {
additionalSignUpFields: [{
name: “name”,
storage: “root”,
placeholder: “Enter your full name”,
}]
}

I added the var options and connected it to the lock variable. Name shows up as a field. But now it says something went wrong when signing up. This occurs with the name option and when I reset the page to default. The signup works and creates a user but still presents an error. When you login it also presents an error.

Hey there!

Can you let me know which version of Universal Login are you using? Is it classic universal login or the new one?