lock
lock copied to clipboard
additionalSignUpField type select is not having class name as field name
Checklist
- [X] I have looked into the Readme and Examples, and have not found a suitable solution or answer.
- [X] I have searched the issues and have not found a suitable solution or answer.
- [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- [X] I agree to the terms within the Auth0 Code of Conduct.
Description
https://github.com/auth0/lock/blob/master/src/ui/input/select_input.jsx#L59
From this line, I suspect the name is always set as location, which behaves differently with text signup fields.
Reproduction
Set up additionalSignUpField with type select and check the class, which is always with "-location".
Additional context
No response
Lock version
12.4.0
Which browsers have you tested in?
Chrome