Skip to content

Comments

fix: update className and InputWrap name in SelectInput component (#2534)#2719

Merged
ankita10119 merged 2 commits intomasterfrom
SDK-7527
Jan 20, 2026
Merged

fix: update className and InputWrap name in SelectInput component (#2534)#2719
ankita10119 merged 2 commits intomasterfrom
SDK-7527

Conversation

@ankita10119
Copy link
Contributor

@ankita10119 ankita10119 commented Jan 18, 2026

Changes

The SelectInput component was hardcoding CSS class names with "location" regardless of the actual field name, causing all additionalSignUpFields with type "select" to receive auth0-lock-input-location class instead of field-specific classes like auth0-lock-input-country.

  • Updated SelectInput component to dynamically generate CSS classes based on the actual field name
  • Changed hardcoded "location" reference to use the name prop
  • Now generates correct classes: auth0-lock-input-${name} (e.g., auth0-lock-input-country, auth0-lock-input-department)

References

Fixes #2534

Testing

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of the platform/language

Checklist

@ankita10119 ankita10119 requested a review from a team as a code owner January 18, 2026 14:30
@ankita10119 ankita10119 merged commit 65883b8 into master Jan 20, 2026
5 checks passed
@ankita10119 ankita10119 deleted the SDK-7527 branch January 20, 2026 16:13
ankita10119 added a commit that referenced this pull request Jan 21, 2026
**Fixed**
- fix: update className and InputWrap name in SelectInput component
(#2534) [\#2719](#2719)
([ankita10119](https://github.com/ankita10119))
- fix: handle undefined and empty domain values in HRD screen (#2526)
[\#2720](#2720)
([ankita10119](https://github.com/ankita10119))
- fix: add 'too_many_attempts' to error codes in logInError function
[\#2718](#2718)
([ankita10119](https://github.com/ankita10119))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

additionalSignUpField type select is not having class name as field name

2 participants