Skip to content

additionalSignUpField type select is not having class name as field name #2534

@derek-wong-news

Description

@derek-wong-news

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions