lock icon indicating copy to clipboard operation
lock copied to clipboard

additionalSignUpField type select is not having class name as field name

Open derek-wong-news opened this issue 1 year ago • 0 comments

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

derek-wong-news avatar Feb 26 '24 14:02 derek-wong-news